Shader model 2 profile target. More...
#include <Heightmap.hh>
Classes | |
class | ShaderHelperCg |
Keeping the CG shader for reference. More... | |
class | ShaderHelperGLSL |
Utility class to help with generating shaders for GLSL. More... | |
Public Member Functions | |
SM2Profile (Ogre::TerrainMaterialGenerator *_parent, const Ogre::String &_name, const Ogre::String &_desc) | |
Constructor. More... | |
virtual | ~SM2Profile () |
Destructor. More... | |
Ogre::MaterialPtr | generate (const Ogre::Terrain *_terrain) |
Ogre::MaterialPtr | generateForCompositeMap (const Ogre::Terrain *_terrain) |
void | UpdateParams (const Ogre::MaterialPtr &_mat, const Ogre::Terrain *_terrain) |
void | UpdateParamsForCompositeMap (const Ogre::MaterialPtr &_mat, const Ogre::Terrain *_terrain) |
Protected Member Functions | |
virtual void | addTechnique (const Ogre::MaterialPtr &_mat, const Ogre::Terrain *_terrain, TechniqueType _tt) |
Protected Attributes | |
friend | ShaderHelperCg |
friend | ShaderHelperGLSL |
Shader model 2 profile target.
gazebo::rendering::GzTerrainMatGen::SM2Profile::SM2Profile | ( | Ogre::TerrainMaterialGenerator * | _parent, |
const Ogre::String & | _name, | ||
const Ogre::String & | _desc | ||
) |
Constructor.
|
virtual |
Destructor.
|
protectedvirtual |
Ogre::MaterialPtr gazebo::rendering::GzTerrainMatGen::SM2Profile::generate | ( | const Ogre::Terrain * | _terrain | ) |
Ogre::MaterialPtr gazebo::rendering::GzTerrainMatGen::SM2Profile::generateForCompositeMap | ( | const Ogre::Terrain * | _terrain | ) |
void gazebo::rendering::GzTerrainMatGen::SM2Profile::UpdateParams | ( | const Ogre::MaterialPtr & | _mat, |
const Ogre::Terrain * | _terrain | ||
) |
void gazebo::rendering::GzTerrainMatGen::SM2Profile::UpdateParamsForCompositeMap | ( | const Ogre::MaterialPtr & | _mat, |
const Ogre::Terrain * | _terrain | ||
) |
|
protected |
|
protected |