OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Container class for shader based programs. More...
#include <OgreShaderProgramSet.h>
Public Member Functions | |
ProgramSet () | |
Class default constructor. More... | |
~ProgramSet () | |
Class destructor. More... | |
Program * | getCpuFragmentProgram () |
Get the fragment shader CPU program. More... | |
Program * | getCpuVertexProgram () |
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 |
Container class for shader based programs.
Holds both a CPU representation and GPU representation of vertex and fragment program.
Ogre::RTShader::ProgramSet::ProgramSet | ( | ) |
Class default constructor.
Ogre::RTShader::ProgramSet::~ProgramSet | ( | ) |
Class destructor.
Program* Ogre::RTShader::ProgramSet::getCpuVertexProgram | ( | ) |
Get the vertex shader CPU program.
Program* Ogre::RTShader::ProgramSet::getCpuFragmentProgram | ( | ) |
Get the fragment shader CPU program.
GpuProgramPtr Ogre::RTShader::ProgramSet::getGpuVertexProgram | ( | ) |
Get the vertex shader GPU program.
GpuProgramPtr Ogre::RTShader::ProgramSet::getGpuFragmentProgram | ( | ) |
Get the fragment shader GPU program.
|
friend |
|
friend |