bool loadTexture(const char *path, SDL_Renderer *const renderTarget)
SDL_Texture * getTexture()
Get the SDL_Texture from the Texture.
Definition: Texture.hpp:47
int m_width
The width of the Texture in pixels.
Definition: Texture.hpp:66
SDL_Texture * m_texture
Pointer to the SDL_Texture data.
Definition: Texture.hpp:61
int getHeight()
Get the height of the SDL_Texture.
Definition: Texture.hpp:61
int getWidth()
Get the width of the SDL_Texture.
Definition: Texture.hpp:54
int m_height
The height of the Texture in pixels.
Definition: Texture.hpp:67
A class implemented using the Facade pattern used for loading SDL_Texture data.
Definition: Texture.hpp:16