25 #ifndef GRAPHICS_AURORA_TEXTUREMAN_H 26 #define GRAPHICS_AURORA_TEXTUREMAN_H 127 #define TextureMan Graphics::Aurora::TextureManager::instance() 129 #endif // GRAPHICS_AURORA_TEXTUREMAN_H TextureHandle getIfExist(const Common::UString &name)
Retrieve this named texture, returning an empty handle if it's not managed.
void assign(TextureHandle &texture, const TextureHandle &from)
Class and macro for implementing singletons.
bool hasTexture(const Common::UString &name)
Does this named managed texture exist?
A class holding an UTF-8 string.
A standard diffuse texture.
std::map< Common::UString, ManagedTexture * > TextureMap
The global Aurora texture manager.
void release(TextureHandle &texture)
A reflective environment map.
void startRecordNewTextures()
Start recording all names of newly created textures.
A handle to an Aurora texture.
void clear()
Remove and delete all managed textures.
Generic template base class for implementing the singleton design pattern.
std::set< Common::UString > _bogusTextures
void setDeswizzleSBM(bool deswizzle)
Do we need to deswizzle SBM images?
Low-level type definitions to handle fixed width types portably.
void reset()
Completely reset the texture rendering.
TextureMode
The mode/usage of a specific texture.
TextureHandle add(Texture *texture, Common::UString name="")
Add this texture to the TextureManager.
void addBogusTexture(const Common::UString &name)
Add the name of a texture that doesn't really exist.
std::list< Common::UString > _newTextureNames
void activeTexture(size_t n)
Set this texture unit as the current one.
void stopRecordNewTextures(std::list< Common::UString > &newTextures)
Stop the recording of texture names, and return a list of previously recorded names.
void reloadAll()
Reload and rebuild all managed textures, if possible.