|
MochiEngine
|
An implementation of ITexture used by SDLRenderer. More...
#include <SDLTexture.h>
Public Member Functions | |
| SDLTexture (SDL_Texture *texture) | |
| virtual Vector2f | GetSize () const override |
| SDL_Texture * | GetTexture () const |
| virtual void | SetAlpha (const uint8_t &alpha) override |
An implementation of ITexture used by SDLRenderer.
Ownership:
Guarantees:
|
overridevirtual |
Implements Mochi::Graphics::ITexture.
|
overridevirtual |
Implements Mochi::Graphics::ITexture.