OGRE  1.10.12
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 ()
 Get the fragment shader CPU program. More...
 
ProgramgetCpuVertexProgram ()
 Get the vertex shader CPU program. More...
 
GpuProgramPtr getGpuFragmentProgram ()
 Get the fragment shader GPU program. More...
 
GpuProgramPtr getGpuVertexProgram ()
 Get the vertex shader GPU program. More...
 

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

◆ getCpuVertexProgram()

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

Get the vertex shader CPU program.

◆ getCpuFragmentProgram()

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

Get the fragment shader CPU program.

◆ getGpuVertexProgram()

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

Get the vertex shader GPU program.

◆ getGpuFragmentProgram()

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

Get the fragment shader GPU program.

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: