25#ifndef _Hydrax_GPUNormalMapManager_H_
26#define _Hydrax_GPUNormalMapManager_H_
129 Ogre::TextureManager::getSingleton().remove(
mTextures.at(Index)->getName());
131 std::vector<Ogre::TexturePtr>::iterator TexIt =
mTextures.begin() + Index;
Class to manager GPU normal maps.
~GPUNormalMapManager()
Destructor.
void removeTexture(const int &Index)
Remove a texture.
Ogre::TexturePtr & getTexture(const int &Index)
Get a texture.
Hydrax * getHydrax()
Get the Hydrax parent pointer.
void addTexture(Ogre::TexturePtr &Texture)
Create a texture.
std::vector< Ogre::TexturePtr > mTextures
The normal map material needs some textures wich will be filled by code.
Ogre::MaterialPtr & getNormalMapMaterial()
Get the normal map material.
Ogre::MaterialPtr mNormalMapMaterial
This material must be created in the noise module, in order to be according with the Hydrax modulable...
void setActive(const bool &Active)
Set active.
Hydrax * mHydrax
Hydrax main pointer.
RttManager * mRttManager
Rtt manager pointer.
bool mCreated
Has been create() already called?
const bool & isCreated() const
Has been created() already called?
void remove(const RttType &Rtt)
Removes a RTT.
void initialize(const RttType &Rtt)
Initialize a RTT.