RigsofRods
Soft-body Physics Simulation
Protected Member Functions
Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelperHLSL Class Reference

#include <OgreTerrainPSSMMaterialGenerator.h>

+ Inheritance diagram for Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelperHLSL:
+ Collaboration diagram for Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelperHLSL:

Protected Member Functions

HighLevelGpuProgramPtr createVertexProgram (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
HighLevelGpuProgramPtr createFragmentProgram (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
- Protected Member Functions inherited from Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelperCg
void generateVpHeader (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateFpHeader (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateVpLayer (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, uint layer, StringUtil::StrStreamType &outStream)
 
void generateFpLayer (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, uint layer, StringUtil::StrStreamType &outStream)
 
void generateVpFooter (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateFpFooter (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
uint generateVpDynamicShadowsParams (uint texCoordStart, const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateVpDynamicShadows (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateFpDynamicShadowsHelpers (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateFpDynamicShadowsParams (uint *texCoord, uint *sampler, const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateFpDynamicShadows (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
- Protected Member Functions inherited from Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper
virtual String getVertexProgramName (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
virtual String getFragmentProgramName (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
virtual void generateVertexProgramSource (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
virtual void generateFragmentProgramSource (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
virtual void defaultVpParams (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, const HighLevelGpuProgramPtr &prog)
 
virtual void defaultFpParams (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, const HighLevelGpuProgramPtr &prog)
 
virtual void updateVpParams (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, const GpuProgramParametersSharedPtr &params)
 
virtual void updateFpParams (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, const GpuProgramParametersSharedPtr &params)
 

Additional Inherited Members

- Public Member Functions inherited from Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper
 ShaderHelper ()
 
virtual ~ShaderHelper ()
 
virtual HighLevelGpuProgramPtr generateVertexProgram (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
virtual HighLevelGpuProgramPtr generateFragmentProgram (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
virtual void updateParams (const SM2Profile *prof, const MaterialPtr &mat, const Terrain *terrain, bool compositeMap)
 
- Static Protected Member Functions inherited from Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper
static String getChannel (uint idx)
 
- Protected Attributes inherited from Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper
size_t mShadowSamplerStartHi
 
size_t mShadowSamplerStartLo
 

Detailed Description

Definition at line 218 of file OgreTerrainPSSMMaterialGenerator.h.

Member Function Documentation

◆ createFragmentProgram()

HighLevelGpuProgramPtr Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelperHLSL::createFragmentProgram ( const SM2Profile prof,
const Terrain *  terrain,
TechniqueType  tt 
)
protectedvirtual

Reimplemented from Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelperCg.

Definition at line 1607 of file OgreTerrainPSSMMaterialGenerator.cpp.

+ Here is the call graph for this function:

◆ createVertexProgram()

HighLevelGpuProgramPtr Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelperHLSL::createVertexProgram ( const SM2Profile prof,
const Terrain *  terrain,
TechniqueType  tt 
)
protectedvirtual

Reimplemented from Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelperCg.

Definition at line 1577 of file OgreTerrainPSSMMaterialGenerator.cpp.

+ Here is the call graph for this function:

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