OGRE
2.2.4
Object-Oriented Graphics Rendering Engine
|
Inner class which should also be subclassed to provide profile-specific material generation. More...
#include <OgreTerrainMaterialGenerator.h>
Public Member Functions | |
Profile (TerrainMaterialGenerator *parent, const String &name, const String &desc) | |
Profile (const Profile &prof) | |
virtual | ~Profile () |
virtual MaterialPtr | generate (const Terrain *terrain)=0 |
Generate / reuse a material for the terrain. More... | |
virtual MaterialPtr | generateForCompositeMap (const Terrain *terrain)=0 |
Generate / reuse a material for the terrain. More... | |
const String & | getDescription () const |
Get the description of this profile. More... | |
virtual uint8 | getMaxLayers (const Terrain *terrain) const =0 |
Get the number of layers supported. More... | |
const String & | getName () const |
Get the name of this profile. More... | |
TerrainMaterialGenerator * | getParent () const |
Get the generator which owns this profile. More... | |
virtual bool | isVertexCompressionSupported () const =0 |
Compressed vertex format supported? More... | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
virtual void | requestOptions (Terrain *terrain)=0 |
Request the options needed from the terrain. More... | |
virtual void | setLightmapEnabled (bool enabled)=0 |
Whether to support a light map over the terrain in the shader, if it's present (default true) More... | |
virtual void | updateCompositeMap (const Terrain *terrain, const Rect &rect) |
Update the composite map for a terrain. More... | |
virtual void | updateParams (const MaterialPtr &mat, const Terrain *terrain)=0 |
Update params for a terrain. More... | |
virtual void | updateParamsForCompositeMap (const MaterialPtr &mat, const Terrain *terrain)=0 |
Update params for a terrain. More... | |
Inner class which should also be subclassed to provide profile-specific material generation.
|
inline |
|
inline |
|
inlinevirtual |
|
pure virtual |
Generate / reuse a material for the terrain.
Implemented in Ogre::TerrainMaterialGeneratorA::SM2Profile.
Referenced by Ogre::TerrainMaterialGenerator::generate().
|
pure virtual |
Generate / reuse a material for the terrain.
Implemented in Ogre::TerrainMaterialGeneratorA::SM2Profile.
Referenced by Ogre::TerrainMaterialGenerator::generateForCompositeMap().
|
inline |
Get the description of this profile.
|
pure virtual |
Get the number of layers supported.
Implemented in Ogre::TerrainMaterialGeneratorA::SM2Profile.
Referenced by Ogre::TerrainMaterialGenerator::getMaxLayers().
|
inline |
Get the name of this profile.
|
inline |
Get the generator which owns this profile.
|
pure virtual |
Compressed vertex format supported?
Implemented in Ogre::TerrainMaterialGeneratorA::SM2Profile.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
|
inlineinherited |
placement operator new
|
inlineinherited |
array operator new, with debug line info
|
inlineinherited |
|
pure virtual |
Request the options needed from the terrain.
Implemented in Ogre::TerrainMaterialGeneratorA::SM2Profile.
Referenced by Ogre::TerrainMaterialGenerator::requestOptions().
|
pure virtual |
Whether to support a light map over the terrain in the shader, if it's present (default true)
Implemented in Ogre::TerrainMaterialGeneratorA::SM2Profile.
Referenced by Ogre::TerrainMaterialGenerator::setLightmapEnabled().
|
virtual |
Update the composite map for a terrain.
Referenced by Ogre::TerrainMaterialGenerator::updateCompositeMap().
|
pure virtual |
Update params for a terrain.
Implemented in Ogre::TerrainMaterialGeneratorA::SM2Profile.
Referenced by Ogre::TerrainMaterialGenerator::updateParams().
|
pure virtual |
Update params for a terrain.
Implemented in Ogre::TerrainMaterialGeneratorA::SM2Profile.
Referenced by Ogre::TerrainMaterialGenerator::updateParamsForCompositeMap().