A collection of sub-texture.
Definition: TextureAtlas.h:65
void setTexture(const Texture &texture)
Change the source texture of the atlas.
Definition: TextureAtlas.h:131
const Path & getTexturePath() const
Get the texture path.
Definition: TextureAtlas.h:114
A texture for colored images.
Definition: Texture.h:313
TextureAtlas()
Default constructor.
Definition: TextureAtlas.h:70
const Texture & getTexture() const
Get the source texture of the atlas.
Definition: TextureAtlas.h:145
bool hasTexture() const
Check if a texture is set.
Definition: TextureAtlas.h:156
void setTexturePath(const Path &path)
Set the texture path.
Definition: TextureAtlas.h:104
void unsetTexture()
Unset the source texture of the atlas.
Definition: TextureAtlas.h:167