OGRE
1.11.6
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 () |
Program * | getCpuProgram (GpuProgramType type) const |
Get the shader CPU program. More... | |
Program * | getCpuVertexProgram () |
GpuProgramPtr | getGpuFragmentProgram () |
const GpuProgramPtr & | getGpuProgram (GpuProgramType type) const |
Get the shader GPU program. More... | |
GpuProgramPtr | getGpuVertexProgram () |
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::getCpuProgram | ( | GpuProgramType | type | ) | const |
Get the shader CPU program.
const GpuProgramPtr& Ogre::RTShader::ProgramSet::getGpuProgram | ( | GpuProgramType | type | ) | const |
Get the shader GPU program.
|
inline |
References Ogre::GPT_VERTEX_PROGRAM.
|
inline |
References Ogre::GPT_FRAGMENT_PROGRAM.
|
inline |
References Ogre::GPT_VERTEX_PROGRAM.
|
inline |
References Ogre::GPT_FRAGMENT_PROGRAM.
|
friend |
|
friend |