|
OGRE
1.9.0
|
Inner class which should also be subclassed to provide profile-specific material generation. More...
#include <OgreTerrainMaterialGenerator.h>

Public Member Functions | |
| Profile (const Profile &prof) | |
| Profile (TerrainMaterialGenerator *parent, const String &name, const String &desc) | |
| virtual | ~Profile () |
| virtual MaterialPtr | generate (const Terrain *terrain)=0 |
| Generate / reuse a material for the terrain. | |
| virtual MaterialPtr | generateForCompositeMap (const Terrain *terrain)=0 |
| Generate / reuse a material for the terrain. | |
| const String & | getDescription () const |
| Get the description of this profile. | |
| virtual uint8 | getMaxLayers (const Terrain *terrain) const =0 |
| Get the number of layers supported. | |
| const String & | getName () const |
| Get the name of this profile. | |
| TerrainMaterialGenerator * | getParent () const |
| Get the generator which owns this profile. | |
| virtual bool | isVertexCompressionSupported () const =0 |
| Compressed vertex format supported? | |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete (void *ptr, void *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info | |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info | |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new | |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new | |
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info | |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info | |
| virtual void | requestOptions (Terrain *terrain)=0 |
| Request the options needed from the terrain. | |
| virtual void | setLightmapEnabled (bool enabled)=0 |
| Whether to support a light map over the terrain in the shader, if it's present (default true) | |
| virtual void | updateCompositeMap (const Terrain *terrain, const Rect &rect) |
| Update the composite map for a terrain. | |
| virtual void | updateParams (const MaterialPtr &mat, const Terrain *terrain)=0 |
| Update params for a terrain. | |
| virtual void | updateParamsForCompositeMap (const MaterialPtr &mat, const Terrain *terrain)=0 |
| Update params for a terrain. | |
Protected Attributes | |
| String | mDesc |
| String | mName |
| TerrainMaterialGenerator * | mParent |
Inner class which should also be subclassed to provide profile-specific material generation.
Definition at line 167 of file OgreTerrainMaterialGenerator.h.
| Ogre::TerrainMaterialGenerator::Profile::Profile | ( | TerrainMaterialGenerator * | parent, |
| const String & | name, | ||
| const String & | desc ) |
Definition at line 174 of file OgreTerrainMaterialGenerator.h.
References Ogre::TerrainMaterialGenerator::TerrainMaterialGenerator(), mDesc, mName, and mParent.
Referenced by Profile().
| Ogre::TerrainMaterialGenerator::Profile::Profile | ( | const Profile & | prof | ) |
|
virtual |
Definition at line 178 of file OgreTerrainMaterialGenerator.h.
|
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().
| const String & Ogre::TerrainMaterialGenerator::Profile::getDescription | ( | ) | const |
Get the description of this profile.
Definition at line 184 of file OgreTerrainMaterialGenerator.h.
References mDesc.
|
pure virtual |
Get the number of layers supported.
Implemented in Ogre::TerrainMaterialGeneratorA::SM2Profile.
Referenced by Ogre::TerrainMaterialGenerator::getMaxLayers().
| const String & Ogre::TerrainMaterialGenerator::Profile::getName | ( | ) | const |
Get the name of this profile.
Definition at line 182 of file OgreTerrainMaterialGenerator.h.
References mName.
| TerrainMaterialGenerator * Ogre::TerrainMaterialGenerator::Profile::getParent | ( | ) | const |
Get the generator which owns this profile.
Definition at line 180 of file OgreTerrainMaterialGenerator.h.
References Ogre::TerrainMaterialGenerator::TerrainMaterialGenerator(), and mParent.
|
pure virtual |
Compressed vertex format supported?
Implemented in Ogre::TerrainMaterialGeneratorA::SM2Profile.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
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().
|
protected |
Definition at line 172 of file OgreTerrainMaterialGenerator.h.
Referenced by Profile(), Profile(), and getDescription().
|
protected |
Definition at line 171 of file OgreTerrainMaterialGenerator.h.
|
protected |
Definition at line 170 of file OgreTerrainMaterialGenerator.h.
Referenced by Profile(), Profile(), and getParent().
1.13.2