![]() |
OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
A singleton manager class that manages shader based programs. More...
#include <OgreShaderProgramManager.h>
Inheritance diagram for Ogre::RTShader::ProgramManager: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 | 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 () |
| Get the singleton instance. 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.
|
static |
Override standard Singleton retrieval.
|
static |
Get the singleton instance.
| 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::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. |
| void Ogre::RTShader::ProgramManager::flushGpuProgramsCache | ( | ) |
Flush the local GPU programs cache.
|
friend |
|
friend |
|
friend |