OGRE
2.2.4
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... | |
virtual const String & | getTargetLanguage () const =0 |
Return the target language of this processor. More... | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
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.
|
pure virtual |
Return the target language of this processor.
Implemented in Ogre::RTShader::CGProgramProcessor, Ogre::RTShader::GLSLESProgramProcessor, Ogre::RTShader::GLSLProgramProcessor, and Ogre::RTShader::HLSLProgramProcessor.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
|
inlineinherited |
placement operator new
|
inlineinherited |
array operator new, with debug line info
|
inlineinherited |
|
pure virtual |
Called after creation of the GPU programs.
programSet | The program set container. Return true on success. |
Implemented in Ogre::RTShader::CGProgramProcessor, Ogre::RTShader::GLSLESProgramProcessor, Ogre::RTShader::GLSLProgramProcessor, and Ogre::RTShader::HLSLProgramProcessor.
|
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::CGProgramProcessor, Ogre::RTShader::GLSLESProgramProcessor, Ogre::RTShader::GLSLProgramProcessor, and Ogre::RTShader::HLSLProgramProcessor.