A class that provides extra processing services on CPU based programs.
More...
#include <OgreShaderProgramProcessor.h>
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.
◆ ProgramProcessor()
Ogre::RTShader::ProgramProcessor::ProgramProcessor |
( |
| ) |
|
◆ ~ProgramProcessor()
virtual Ogre::RTShader::ProgramProcessor::~ProgramProcessor |
( |
| ) |
|
|
virtual |
◆ getTargetLanguage()
const String& Ogre::RTShader::ProgramProcessor::getTargetLanguage |
( |
| ) |
const |
|
inline |
◆ preCreateGpuPrograms()
virtual bool Ogre::RTShader::ProgramProcessor::preCreateGpuPrograms |
( |
ProgramSet * |
programSet | ) |
|
|
pure virtual |
Called before creation of the GPU programs.
Do several preparation operation such as validation, register compaction and specific target language optimizations.
- Parameters
-
programSet | The program set container. Return true on success. |
◆ postCreateGpuPrograms()
virtual bool Ogre::RTShader::ProgramProcessor::postCreateGpuPrograms |
( |
ProgramSet * |
programSet | ) |
|
|
pure virtual |
Called after creation of the GPU programs.
- Parameters
-
programSet | The program set container. Return true on success. |
The documentation for this class was generated from the following file: