![]() |
OGRE 13.2
Object-Oriented Graphics Rendering Engine
|
A class that provides extra processing services on CPU based programs. More...
#include <OgreShaderProgramProcessor.h>
Public Member Functions | |
ProgramProcessor () | |
Class constructor. More... | |
virtual | ~ProgramProcessor () |
Class destructor. More... | |
const String & | getTargetLanguage () const |
virtual bool | postCreateGpuPrograms (ProgramSet *programSet)=0 |
Called after creation of the GPU programs. More... | |
virtual bool | preCreateGpuPrograms (ProgramSet *programSet)=0 |
Called before creation of the GPU programs. More... | |
A class that provides extra processing services on CPU based programs.
The base class perform only the generic processing. In order to provide target language specific services and optimization one should derive from this class and register its factory via the ProgramManager instance.
Ogre::RTShader::ProgramProcessor::ProgramProcessor | ( | ) |
Class constructor.
|
virtual |
Class destructor.
|
inline |
References Ogre::BLANKSTRING.
|
pure virtual |
Called before creation of the GPU programs.
Do several preparation operation such as validation, register compaction and specific target language optimizations.
programSet | The program set container. Return true on success. |
Implemented in Ogre::RTShader::GLSLProgramProcessor, and Ogre::RTShader::HLSLProgramProcessor.
|
pure virtual |
Called after creation of the GPU programs.
programSet | The program set container. Return true on success. |
Implemented in Ogre::RTShader::GLSLProgramProcessor, and Ogre::RTShader::HLSLProgramProcessor.