![]() |
Rigs of Rods 2023.09
Soft-body Physics Simulation
|
Utility class to help with generating shaders for Cg / HLSL. More...
#include <OgreTerrainPSSMMaterialGenerator.h>
Inheritance diagram for Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelperCg: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, Ogre::StringStream &outStream) |
| void | generateFpHeader (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, Ogre::StringStream &outStream) |
| void | generateVpLayer (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, uint layer, Ogre::StringStream &outStream) |
| void | generateFpLayer (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, uint layer, Ogre::StringStream &outStream) |
| void | generateVpFooter (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, Ogre::StringStream &outStream) |
| void | generateFpFooter (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, Ogre::StringStream &outStream) |
| uint | generateVpDynamicShadowsParams (uint texCoordStart, const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, Ogre::StringStream &outStream) |
| void | generateVpDynamicShadows (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, Ogre::StringStream &outStream) |
| void | generateFpDynamicShadowsHelpers (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, Ogre::StringStream &outStream) |
| void | generateFpDynamicShadowsParams (uint *texCoord, uint *sampler, const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, Ogre::StringStream &outStream) |
| void | generateFpDynamicShadows (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, Ogre::StringStream &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, Ogre::StringStream &outStream) |
| virtual void | generateFragmentProgramSource (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, Ogre::StringStream &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 Cg / HLSL.
Definition at line 200 of file OgreTerrainPSSMMaterialGenerator.h.
|
protectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Reimplemented in Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelperHLSL.
Definition at line 755 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
protectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Reimplemented in Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelperHLSL.
Definition at line 731 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
protected |
Definition at line 1522 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
protected |
Definition at line 1315 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
protected |
Definition at line 1490 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
protectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 1243 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
protectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 938 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
protectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 1145 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
protected |
Definition at line 1458 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
protected |
Definition at line 1432 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
protectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 1213 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
protectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 782 of file OgreTerrainPSSMMaterialGenerator.cpp.
|
protectedvirtual |
Implements Ogre::TerrainPSSMMaterialGenerator::SM2Profile::ShaderHelper.
Definition at line 1138 of file OgreTerrainPSSMMaterialGenerator.cpp.