A singleton manager class that manages shader based programs.
More...
#include <OgreShaderProgramManager.h>
A singleton manager class that manages shader based programs.
◆ ProgramManager()
| Ogre::RTShader::ProgramManager::ProgramManager |
( |
| ) |
|
Class default constructor.
◆ ~ProgramManager()
| Ogre::RTShader::ProgramManager::~ProgramManager |
( |
| ) |
|
◆ getSingleton()
| static ProgramManager & Ogre::RTShader::ProgramManager::getSingleton |
( |
| ) |
|
|
static |
Override standard Singleton retrieval.
- This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors.
◆ getSingletonPtr()
| static ProgramManager * Ogre::RTShader::ProgramManager::getSingletonPtr |
( |
| ) |
|
|
static |
Get the singleton instance.
◆ acquirePrograms()
Acquire CPU/GPU programs set associated with the given render state and bind them to the pass.
- Parameters
-
| pass | The pass to bind the programs to. |
| renderState | The render state that describes the program that need to be generated. |
◆ releasePrograms()
Release CPU/GPU programs set associated with the given render state and pass.
- Parameters
-
| pass | The pass to release the programs from. |
| renderState | The render state holds the programs. |
◆ flushGpuProgramsCache()
| void Ogre::RTShader::ProgramManager::flushGpuProgramsCache |
( |
| ) |
|
Flush the local GPU programs cache.
◆ ProgramSet
◆ TargetRenderState
◆ ShaderGenerator
The documentation for this class was generated from the following file: