Representation of a 2D texture.
Definition: Texture.hpp:79
Definition: GLTexture.hpp:11
void setHeight(float height) override
visual height of the texture in game dimensions
Definition: GLTexture.cpp:86
uint32_t getID() const override
Texture id - an id link to the texture.
Definition: GLTexture.cpp:65
Ref< TextureMap > getDefaultMapping() const override
Get the texture mapping.
Definition: GLTexture.cpp:77
float getWidth() const override
visual width of the texture in game dimensions
Definition: GLTexture.cpp:69
float getHeight() const override
visual height of the texture in game dimensions
Definition: GLTexture.cpp:73
void setID(uint32_t id) override
set texture id
Definition: GLTexture.cpp:94
void setSize(float width, float height) override
visual size of the texture in game dimensions
Definition: GLTexture.cpp:81
void setWidth(float width) override
visual width of the texture in game dimensions
Definition: GLTexture.cpp:90
void Bind(uint32_t slot=0) const override
Definition: GLTexture.cpp:61