RigsofRods
Soft-body Physics Simulation
|
Utility class to help with generating shaders for GLSL. More...
#include <OgreTerrainPSSMMaterialGenerator.h>
Protected Member Functions | |
HighLevelGpuProgramPtr | createVertexProgram (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt) |
HighLevelGpuProgramPtr | createFragmentProgram (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt) |
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) |
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 ¶ms) |
virtual void | updateFpParams (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, const GpuProgramParametersSharedPtr ¶ms) |
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 |
Utility class to help with generating shaders for GLSL.
Definition at line 226 of file OgreTerrainPSSMMaterialGenerator.h.
|
protectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 1673 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
protectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 1638 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
inlineprotectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 242 of file OgreTerrainPSSMMaterialGenerator.h.
|
inlineprotectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 234 of file OgreTerrainPSSMMaterialGenerator.h.
|
inlineprotectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 238 of file OgreTerrainPSSMMaterialGenerator.h.
|
inlineprotectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 240 of file OgreTerrainPSSMMaterialGenerator.h.
|
inlineprotectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 232 of file OgreTerrainPSSMMaterialGenerator.h.
|
inlineprotectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 236 of file OgreTerrainPSSMMaterialGenerator.h.