OGRE  1.12.4
Object-Oriented Graphics Rendering Engine
Ogre::ShaderHelper Class Referenceabstract

Interface definition for helper class to generate shaders. More...

#include <OgreTerrainMaterialShaderHelpers.h>

+ Inheritance diagram for Ogre::ShaderHelper:

Public Member Functions

 ShaderHelper (bool glsl)
 
virtual ~ShaderHelper ()
 
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

Interface definition for helper class to generate shaders.

Constructor & Destructor Documentation

◆ ShaderHelper()

Ogre::ShaderHelper::ShaderHelper ( bool  glsl)
inline

◆ ~ShaderHelper()

virtual Ogre::ShaderHelper::~ShaderHelper ( )
inlinevirtual

Member Function Documentation

◆ isVertexCompressionSupported()

bool Ogre::ShaderHelper::isVertexCompressionSupported ( )
inline

◆ generateVertexProgram()

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

◆ generateFragmentProgram()

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

◆ updateParams()

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

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