const string & getId() const
void removeTexture(Texture *texture)
Removes a texture from manager.
unordered_map< string, TextureManager_TextureManaged * > textures
TextureManager(Renderer *renderer)
Public constructor.
int32_t addCubeMapTexture(const string &id, Texture *textureLeft, Texture *textureRight, Texture *textureTop, Texture *textureBottom, Texture *textureFront, Texture *textureBack, int contextIdx=0)
Adds a cube map texture to manager.
TextureManager_TextureManaged * addTexture(const string &id, bool &created)
Adds a texture to manager.