Ogre::TexturePtr mTextures[1]
Our Ogre::TexturePtr array.
Class for manager Normal maps.
void create(const Size &Size)
Create height and normal map textures.
Ogre::TexturePtr & getTexture(const TexturesID &Id)
Get texture.
TextureManager(Hydrax *h)
Constructor.
Ogre::String mTextureNames[1]
Our Ogre::String array for store texture's names.
Ogre::TexturePtr _getTexture(const Ogre::String &Name)
Get an Ogre::TexturePtr.
bool mCreated
Have been created already called?
bool _updateNormalMap(Image &Image)
Update normal map.
bool update(const TexturesID &Id, Image &Image)
Update.
bool _createTexture(Ogre::TexturePtr &Texture, const Ogre::String &Name, const Size &Size)
Create an Ogre::Texture.
const Ogre::String & getTextureName(const TexturesID &Id) const
Get texture's name.