OGRE  14.2
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...
 
ProgramgetCpuProgram (GpuProgramType type) const
 Get the shader CPU program. More...
 
const GpuProgramPtrgetGpuProgram (GpuProgramType type) const
 Get the shader GPU program. More...
 

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

◆ getCpuProgram()

Program* Ogre::RTShader::ProgramSet::getCpuProgram ( GpuProgramType  type) const

Get the shader CPU program.

◆ getGpuProgram()

const GpuProgramPtr& Ogre::RTShader::ProgramSet::getGpuProgram ( GpuProgramType  type) const

Get the shader GPU program.


The documentation for this class was generated from the following file: