Shader generator technique wrapper class.
More...
#include <OgreShaderGenerator.h>
|
| SGTechnique (SGMaterial *parent, Technique *srcTechnique, const String &dstTechniqueSchemeName) |
|
| ~SGTechnique () |
|
void | acquireIlluminationPrograms () |
| Acquire the CPU/GPU programs for illumination passes of this technique.
|
|
void | acquirePrograms () |
| Acquire the CPU/GPU programs for this technique.
|
|
void | buildIlluminationTargetRenderState () |
| Build the render state for illumination passes.
|
|
void | buildTargetRenderState () |
| Build the render state.
|
|
void | destroyIlluminationSGPasses () |
| Destroy the illumination passes entries.
|
|
bool | getBuildDestinationTechnique () const |
| Tells if the destination technique should be build.
|
|
Technique * | getDestinationTechnique () |
| Get the destination technique.
|
|
const String & | getDestinationTechniqueSchemeName () const |
| Get the destination technique scheme name.
|
|
const SGMaterial * | getParent () const |
| Get the parent SGMaterial.
|
|
RenderState * | getRenderState (unsigned short passIndex) |
| Get render state of specific pass.
|
|
Technique * | getSourceTechnique () |
| Get the source technique.
|
|
bool | hasRenderState (unsigned short passIndex) |
| Tells if a custom render state exists for the given pass.
|
|
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 () |
| Release the CPU/GPU programs of this technique.
|
|
void | setBuildDestinationTechnique (bool buildTechnique) |
| Tells the technique that it needs to generate shader code.
|
|
Shader generator technique wrapper class.
Definition at line 589 of file OgreShaderGenerator.h.
◆ SGTechnique()
◆ ~SGTechnique()
Ogre::RTShader::ShaderGenerator::SGTechnique::~SGTechnique |
( |
| ) |
|
◆ acquireIlluminationPrograms()
void Ogre::RTShader::ShaderGenerator::SGTechnique::acquireIlluminationPrograms |
( |
| ) |
|
Acquire the CPU/GPU programs for illumination passes of this technique.
◆ acquirePrograms()
void Ogre::RTShader::ShaderGenerator::SGTechnique::acquirePrograms |
( |
| ) |
|
Acquire the CPU/GPU programs for this technique.
◆ buildIlluminationTargetRenderState()
void Ogre::RTShader::ShaderGenerator::SGTechnique::buildIlluminationTargetRenderState |
( |
| ) |
|
Build the render state for illumination passes.
◆ buildTargetRenderState()
void Ogre::RTShader::ShaderGenerator::SGTechnique::buildTargetRenderState |
( |
| ) |
|
◆ createIlluminationSGPasses()
void Ogre::RTShader::ShaderGenerator::SGTechnique::createIlluminationSGPasses |
( |
| ) |
|
|
protected |
Create the illumination passes entries.
◆ createSGPasses()
void Ogre::RTShader::ShaderGenerator::SGTechnique::createSGPasses |
( |
| ) |
|
|
protected |
Create the passes entries.
◆ destroyIlluminationSGPasses()
void Ogre::RTShader::ShaderGenerator::SGTechnique::destroyIlluminationSGPasses |
( |
| ) |
|
Destroy the illumination passes entries.
◆ destroySGPasses()
void Ogre::RTShader::ShaderGenerator::SGTechnique::destroySGPasses |
( |
| ) |
|
|
protected |
Destroy the passes entries.
◆ getBuildDestinationTechnique()
bool Ogre::RTShader::ShaderGenerator::SGTechnique::getBuildDestinationTechnique |
( |
| ) |
const |
◆ getDestinationTechnique()
Technique * Ogre::RTShader::ShaderGenerator::SGTechnique::getDestinationTechnique |
( |
| ) |
|
◆ getDestinationTechniqueSchemeName()
const String & Ogre::RTShader::ShaderGenerator::SGTechnique::getDestinationTechniqueSchemeName |
( |
| ) |
const |
◆ getParent()
const SGMaterial * Ogre::RTShader::ShaderGenerator::SGTechnique::getParent |
( |
| ) |
const |
◆ getRenderState()
Get render state of specific pass.
- Parameters
-
◆ getSourceTechnique()
Technique * Ogre::RTShader::ShaderGenerator::SGTechnique::getSourceTechnique |
( |
| ) |
|
◆ hasRenderState()
bool Ogre::RTShader::ShaderGenerator::SGTechnique::hasRenderState |
( |
unsigned short |
passIndex | ) |
|
Tells if a custom render state exists for the given pass.
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
◆ releasePrograms()
void Ogre::RTShader::ShaderGenerator::SGTechnique::releasePrograms |
( |
| ) |
|
Release the CPU/GPU programs of this technique.
◆ setBuildDestinationTechnique()
void Ogre::RTShader::ShaderGenerator::SGTechnique::setBuildDestinationTechnique |
( |
bool |
buildTechnique | ) |
|
◆ mBuildDstTechnique
bool Ogre::RTShader::ShaderGenerator::SGTechnique::mBuildDstTechnique |
|
protected |
◆ mCustomRenderStates
RenderStateList Ogre::RTShader::ShaderGenerator::SGTechnique::mCustomRenderStates |
|
protected |
◆ mDstTechnique
Technique* Ogre::RTShader::ShaderGenerator::SGTechnique::mDstTechnique |
|
protected |
◆ mDstTechniqueSchemeName
String Ogre::RTShader::ShaderGenerator::SGTechnique::mDstTechniqueSchemeName |
|
protected |
◆ mParent
SGMaterial* Ogre::RTShader::ShaderGenerator::SGTechnique::mParent |
|
protected |
◆ mPassEntries
SGPassList Ogre::RTShader::ShaderGenerator::SGTechnique::mPassEntries |
|
protected |
◆ mSrcTechnique
Technique* Ogre::RTShader::ShaderGenerator::SGTechnique::mSrcTechnique |
|
protected |
◆ OGRE_AUTO_MUTEX
Ogre::RTShader::ShaderGenerator::SGTechnique::OGRE_AUTO_MUTEX |
|
protected |
◆ UserKey
String Ogre::RTShader::ShaderGenerator::SGTechnique::UserKey |
|
static |
The documentation for this class was generated from the following file: