OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Container class for shader based programs. More...
#include <OgreShaderProgramSet.h>
Public Member Functions | |
ProgramSet () | |
Class default constructor. | |
~ProgramSet () | |
Class destructor. | |
Program * | getCpuProgram (GpuProgramType type) const |
Get the shader CPU program. | |
const GpuProgramPtr & | getGpuProgram (GpuProgramType type) const |
Get the shader GPU program. | |
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.