OGRE  1.11.6
Object-Oriented Graphics Rendering Engine
Ogre::RTShader::ProgramSet Class Reference

Container class for shader based programs. More...

#include <OgreShaderProgramSet.h>

+ Inheritance diagram for Ogre::RTShader::ProgramSet:

Public Member Functions

 ProgramSet ()
 Class default constructor. More...
 
 ~ProgramSet ()
 Class destructor. More...
 
ProgramgetCpuFragmentProgram ()
 
ProgramgetCpuProgram (GpuProgramType type) const
 Get the shader CPU program. More...
 
ProgramgetCpuVertexProgram ()
 
GpuProgramPtr getGpuFragmentProgram ()
 
const GpuProgramPtrgetGpuProgram (GpuProgramType type) const
 Get the shader GPU program. More...
 
GpuProgramPtr getGpuVertexProgram ()
 

Friends

class ProgramManager
 
class TargetRenderState
 

Detailed Description

Container class for shader based programs.

Holds both a CPU representation and GPU representation of vertex and fragment program.

Constructor & Destructor Documentation

◆ ProgramSet()

Ogre::RTShader::ProgramSet::ProgramSet ( )

Class default constructor.

◆ ~ProgramSet()

Ogre::RTShader::ProgramSet::~ProgramSet ( )

Class destructor.

Member Function Documentation

◆ getCpuProgram()

Program* Ogre::RTShader::ProgramSet::getCpuProgram ( GpuProgramType  type) const

Get the shader CPU program.

◆ getGpuProgram()

const GpuProgramPtr& Ogre::RTShader::ProgramSet::getGpuProgram ( GpuProgramType  type) const

Get the shader GPU program.

◆ getCpuVertexProgram()

Program* Ogre::RTShader::ProgramSet::getCpuVertexProgram ( )
inline

◆ getCpuFragmentProgram()

Program* Ogre::RTShader::ProgramSet::getCpuFragmentProgram ( )
inline

◆ getGpuVertexProgram()

GpuProgramPtr Ogre::RTShader::ProgramSet::getGpuVertexProgram ( )
inline

◆ getGpuFragmentProgram()

GpuProgramPtr Ogre::RTShader::ProgramSet::getGpuFragmentProgram ( )
inline

Friends And Related Function Documentation

◆ ProgramManager

friend class ProgramManager
friend

◆ TargetRenderState

friend class TargetRenderState
friend

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