Class which loads and caches Textures.
Definition: TextureManager.h:37
TexturePtr getTexture(const QString &path)
Returns a Texture containing the image at path relative to the standard image directory.
TexturePtr getTextureImage(const QString &imagePath)
Returns a Texture containing the image at imagePath relative to the standard image directory...
TexturePtr getTextureAsset(const QString &assetPath)
Returns a Texture containing the image at assetPath relative to the standard asset directory...
std::shared_ptr< Texture > TexturePtr
Shared pointer typedef for Texture.
Definition: PointerDeclarations.h:173
void markAllTexturesForDeletion()
Move all Textures currently cached onto the deletion list, to be deleted on the next call to processD...
void processDeletion()
Release references to all Textures on the delete list.