OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
A singleton manager class that manages shader based programs. More...
#include <OgreShaderProgramManager.h>
Public Member Functions | |
ProgramManager () | |
Class default constructor. | |
~ProgramManager () | |
Class destructor. | |
void | acquirePrograms (Pass *pass, TargetRenderState *renderState) |
Acquire CPU/GPU programs set associated with the given render state and bind them to the pass. | |
void | flushGpuProgramsCache () |
Flush the local GPU programs cache. | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void | releasePrograms (Pass *pass, TargetRenderState *renderState) |
Release CPU/GPU programs set associated with the given render state and pass. | |
Static Public Member Functions | |
static ProgramManager & | getSingleton () |
Override standard Singleton retrieval. | |
static ProgramManager * | getSingletonPtr () |
Override standard Singleton retrieval. | |
Friends | |
class | ProgramSet |
class | ShaderGenerator |
class | TargetRenderState |
A singleton manager class that manages shader based programs.
Ogre::RTShader::ProgramManager::ProgramManager | ( | ) |
Class default constructor.
Ogre::RTShader::ProgramManager::~ProgramManager | ( | ) |
Class destructor.
void Ogre::RTShader::ProgramManager::acquirePrograms | ( | Pass * | pass, |
TargetRenderState * | renderState | ||
) |
Acquire CPU/GPU programs set associated with the given render state and bind them to the pass.
pass | The pass to bind the programs to. |
renderState | The render state that describes the program that need to be generated. |
void Ogre::RTShader::ProgramManager::flushGpuProgramsCache | ( | ) |
Flush the local GPU programs cache.
|
static |
Override standard Singleton retrieval.
|
static |
Override standard Singleton retrieval.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
void Ogre::RTShader::ProgramManager::releasePrograms | ( | Pass * | pass, |
TargetRenderState * | renderState | ||
) |
Release CPU/GPU programs set associated with the given render state and pass.
pass | The pass to release the programs from. |
renderState | The render state holds the programs. |
|
friend |
|
friend |
|
friend |