OGRE  1.12.4
Object-Oriented Graphics Rendering Engine
Ogre::ShaderHelperCg Struct Reference

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

#include <OgreTerrainMaterialShaderHelpers.h>

+ Inheritance diagram for Ogre::ShaderHelperCg:

Public Member Functions

 ShaderHelperCg ()
 
virtual HighLevelGpuProgramPtr generateFragmentProgram (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
virtual HighLevelGpuProgramPtr generateVertexProgram (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
bool isVertexCompressionSupported ()
 
virtual void updateParams (const SM2Profile *prof, const MaterialPtr &mat, const Terrain *terrain, bool compositeMap)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ShaderHelperCg()

Ogre::ShaderHelperCg::ShaderHelperCg ( )

Member Function Documentation

◆ isVertexCompressionSupported()

bool Ogre::ShaderHelper::isVertexCompressionSupported ( )
inlineinherited

◆ generateVertexProgram()

virtual HighLevelGpuProgramPtr Ogre::ShaderHelper::generateVertexProgram ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt 
)
virtualinherited

◆ generateFragmentProgram()

virtual HighLevelGpuProgramPtr Ogre::ShaderHelper::generateFragmentProgram ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt 
)
virtualinherited

◆ updateParams()

virtual void Ogre::ShaderHelper::updateParams ( const SM2Profile prof,
const MaterialPtr mat,
const Terrain terrain,
bool  compositeMap 
)
virtualinherited

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