OGRE
2.2.4
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. More... | |
~ProgramManager () | |
Class destructor. More... | |
void | acquirePrograms (Pass *pass, TargetRenderState *renderState) |
Acquire CPU/GPU programs set associated with the given render state and bind them to the pass. More... | |
void | flushGpuProgramsCache () |
Flush the local GPU programs cache. 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) |
void | releasePrograms (Pass *pass, TargetRenderState *renderState) |
Release CPU/GPU programs set associated with the given render state and pass. More... | |
Static Public Member Functions | |
static ProgramManager & | getSingleton () |
Override standard Singleton retrieval. More... | |
static ProgramManager * | getSingletonPtr () |
Override standard Singleton retrieval. More... | |
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
|
inlineinherited |
|
inlineinherited |
placement operator new
|
inlineinherited |
array operator new, with debug line info
|
inlineinherited |
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 |