OGRE
13.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 * | getCpuProgram (GpuProgramType type) const |
Get the shader CPU program. More... | |
const GpuProgramPtr & | getGpuProgram (GpuProgramType type) const |
Get the shader GPU program. More... | |
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.