This class holds an image that can be rendererd to the screen.
Definition texture.h:12
static void setGenerationRenderer(MRenderer *renderer)
Sets the internal renderer used for texture generation. DO NOT TOUCH or INVOKE!!
Definition texture.h:50
MTexture(std::string path)
Constructor.
std::string getSrcPath()
Gets the img source path in disk.
Definition texture.h:24
static bool initialiseTextureLoader()
Initialised the SDL texture loader DO NOT TOUCH or INVOKE!!
SDL_Texture * getCoreTexture()
get the internal SDL Texture implementation
Definition texture.h:29
SVector2 getSize()
returns the size of Texture in pixel
Definition texture.h:34