Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gazebo::rendering::GzTerrainMatGen::SM2Profile Class Reference

Shader model 2 profile target. More...

#include <HeightmapPrivate.hh>

Inheritance diagram for gazebo::rendering::GzTerrainMatGen::SM2Profile:
Inheritance graph
[legend]

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
 

Detailed Description

Shader model 2 profile target.

Constructor & Destructor Documentation

gazebo::rendering::GzTerrainMatGen::SM2Profile::SM2Profile ( Ogre::TerrainMaterialGenerator *  _parent,
const Ogre::String &  _name,
const Ogre::String &  _desc 
)

Constructor.

virtual gazebo::rendering::GzTerrainMatGen::SM2Profile::~SM2Profile ( )
virtual

Destructor.

Member Function Documentation

virtual void gazebo::rendering::GzTerrainMatGen::SM2Profile::addTechnique ( const Ogre::MaterialPtr &  _mat,
const Ogre::Terrain *  _terrain,
TechniqueType  _tt 
)
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 
)

Member Data Documentation


The documentation for this class was generated from the following file: