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

Keeping the CG shader for reference. More...

#include <Heightmap.hh>

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

Public Member Functions

virtual
Ogre::HighLevelGpuProgramPtr 
generateFragmentProgram (const SM2Profile *_prof, const Ogre::Terrain *_terrain, TechniqueType _tt)
 
virtual
Ogre::HighLevelGpuProgramPtr 
generateVertexProgram (const SM2Profile *_prof, const Ogre::Terrain *_terrain, TechniqueType _tt)
 

Protected Member Functions

virtual void defaultVpParams (const SM2Profile *_prof, const Ogre::Terrain *_terrain, TechniqueType _tt, const Ogre::HighLevelGpuProgramPtr &_prog)
 
virtual void generateVertexProgramSource (const SM2Profile *_prof, const Ogre::Terrain *_terrain, TechniqueType _tt, Ogre::StringStream &_outStream)
 
virtual void generateVpDynamicShadows (const SM2Profile *_prof, const Ogre::Terrain *_terrain, TechniqueType _tt, Ogre::StringStream &_outStream)
 
virtual unsigned int generateVpDynamicShadowsParams (unsigned int _texCoordStart, const SM2Profile *_prof, const Ogre::Terrain *_terrain, TechniqueType _tt, Ogre::StringStream &_outStream)
 
virtual void generateVpFooter (const SM2Profile *_prof, const Ogre::Terrain *_terrain, TechniqueType _tt, Ogre::StringStream &_outStream)
 
virtual void generateVpHeader (const SM2Profile *_prof, const Ogre::Terrain *_terrain, TechniqueType _tt, Ogre::StringStream &_outStream)
 

Detailed Description

Keeping the CG shader for reference.

Utility class to help with generating shaders for Cg / HLSL.

Member Function Documentation

virtual void gazebo::rendering::GzTerrainMatGen::SM2Profile::ShaderHelperCg::defaultVpParams ( const SM2Profile _prof,
const Ogre::Terrain *  _terrain,
TechniqueType  _tt,
const Ogre::HighLevelGpuProgramPtr &  _prog 
)
protectedvirtual
virtual Ogre::HighLevelGpuProgramPtr gazebo::rendering::GzTerrainMatGen::SM2Profile::ShaderHelperCg::generateFragmentProgram ( const SM2Profile _prof,
const Ogre::Terrain *  _terrain,
TechniqueType  _tt 
)
virtual
virtual Ogre::HighLevelGpuProgramPtr gazebo::rendering::GzTerrainMatGen::SM2Profile::ShaderHelperCg::generateVertexProgram ( const SM2Profile _prof,
const Ogre::Terrain *  _terrain,
TechniqueType  _tt 
)
virtual
virtual void gazebo::rendering::GzTerrainMatGen::SM2Profile::ShaderHelperCg::generateVertexProgramSource ( const SM2Profile _prof,
const Ogre::Terrain *  _terrain,
TechniqueType  _tt,
Ogre::StringStream &  _outStream 
)
protectedvirtual
virtual void gazebo::rendering::GzTerrainMatGen::SM2Profile::ShaderHelperCg::generateVpDynamicShadows ( const SM2Profile _prof,
const Ogre::Terrain *  _terrain,
TechniqueType  _tt,
Ogre::StringStream &  _outStream 
)
protectedvirtual
virtual unsigned int gazebo::rendering::GzTerrainMatGen::SM2Profile::ShaderHelperCg::generateVpDynamicShadowsParams ( unsigned int  _texCoordStart,
const SM2Profile _prof,
const Ogre::Terrain *  _terrain,
TechniqueType  _tt,
Ogre::StringStream &  _outStream 
)
protectedvirtual
virtual void gazebo::rendering::GzTerrainMatGen::SM2Profile::ShaderHelperCg::generateVpFooter ( const SM2Profile _prof,
const Ogre::Terrain *  _terrain,
TechniqueType  _tt,
Ogre::StringStream &  _outStream 
)
protectedvirtual
virtual void gazebo::rendering::GzTerrainMatGen::SM2Profile::ShaderHelperCg::generateVpHeader ( const SM2Profile _prof,
const Ogre::Terrain *  _terrain,
TechniqueType  _tt,
Ogre::StringStream &  _outStream 
)
protectedvirtual

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