A collection of sub-texture.
Definition: TextureAtlas.h:65
void setTexture(const Texture &texture)
Change the source texture of the atlas.
Definition: TextureAtlas.h:133
const Path & getTexturePath() const
Get the texture path.
Definition: TextureAtlas.h:116
A texture for colored images.
Definition: Texture.h:339
TextureAtlas()
Default constructor.
Definition: TextureAtlas.h:70
const Texture & getTexture() const
Get the source texture of the atlas.
Definition: TextureAtlas.h:147
bool hasTexture() const
Check if a texture is set.
Definition: TextureAtlas.h:158
void setTexturePath(const Path &path)
Set the texture path.
Definition: TextureAtlas.h:106
void unsetTexture()
Unset the source texture of the atlas.
Definition: TextureAtlas.h:169