Shader generator technique wrapper class. More...
#include <OgreShaderGenerator.h>

Public Member Functions | |
| SGTechnique (SGMaterial *parent, Technique *srcTechnique, const String &dstTechniqueSchemeName) | |
| ~SGTechnique () | |
| void | acquirePrograms () |
| Acquire the CPU/GPU programs for this technique. More... | |
| void | buildTargetRenderState () |
| Build the render state. More... | |
| bool | getBuildDestinationTechnique () const |
| Tells if the destination technique should be build. More... | |
| Technique * | getDestinationTechnique () |
| Get the destination technique. More... | |
| const String & | getDestinationTechniqueSchemeName () const |
| Get the destination technique scheme name. More... | |
| const SGMaterial * | getParent () const |
| Get the parent SGMaterial. More... | |
| RenderState * | getRenderState (unsigned short passIndex) |
| Get render state of specific pass. More... | |
| Technique * | getSourceTechnique () |
| Get the source technique. More... | |
| bool | hasRenderState (unsigned short passIndex) |
| Tells if a custom render state exists for the given pass. More... | |
| 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 More... | |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new More... | |
| 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 More... | |
| void | releasePrograms () |
| Release the CPU/GPU programs of this technique. More... | |
| void | setBuildDestinationTechnique (bool buildTechnique) |
| Tells the technique that it needs to generate shader code. More... | |
Static Public Attributes | |
| static String | UserKey |
Protected Member Functions | |
| void | createSGPasses () |
| Create the passes entries. More... | |
| void | destroySGPasses () |
| Destroy the passes entries. More... | |
Protected Attributes | |
| bool | mBuildDstTechnique |
| RenderStateList | mCustomRenderStates |
| Technique * | mDstTechnique |
| String | mDstTechniqueSchemeName |
| SGMaterial * | mParent |
| SGPassList | mPassEntries |
| Technique * | mSrcTechnique |
Shader generator technique wrapper class.
Definition at line 564 of file OgreShaderGenerator.h.
| Ogre::RTShader::ShaderGenerator::SGTechnique::SGTechnique | ( | SGMaterial * | parent, |
| Technique * | srcTechnique, | ||
| const String & | dstTechniqueSchemeName | ||
| ) |
| Ogre::RTShader::ShaderGenerator::SGTechnique::~SGTechnique | ( | ) |
| void Ogre::RTShader::ShaderGenerator::SGTechnique::acquirePrograms | ( | ) |
Acquire the CPU/GPU programs for this technique.
| void Ogre::RTShader::ShaderGenerator::SGTechnique::buildTargetRenderState | ( | ) |
Build the render state.
|
protected |
Create the passes entries.
|
protected |
Destroy the passes entries.
| bool Ogre::RTShader::ShaderGenerator::SGTechnique::getBuildDestinationTechnique | ( | ) | const |
Tells if the destination technique should be build.
Definition at line 595 of file OgreShaderGenerator.h.
| Technique* Ogre::RTShader::ShaderGenerator::SGTechnique::getDestinationTechnique | ( | ) |
Get the destination technique.
Definition at line 577 of file OgreShaderGenerator.h.
| const String& Ogre::RTShader::ShaderGenerator::SGTechnique::getDestinationTechniqueSchemeName | ( | ) | const |
Get the destination technique scheme name.
Definition at line 580 of file OgreShaderGenerator.h.
| const SGMaterial* Ogre::RTShader::ShaderGenerator::SGTechnique::getParent | ( | ) | const |
Get the parent SGMaterial.
Definition at line 571 of file OgreShaderGenerator.h.
| RenderState* Ogre::RTShader::ShaderGenerator::SGTechnique::getRenderState | ( | unsigned short | passIndex | ) |
Get render state of specific pass.
| passIndex | The pass index. |
| Technique* Ogre::RTShader::ShaderGenerator::SGTechnique::getSourceTechnique | ( | ) |
Get the source technique.
Definition at line 574 of file OgreShaderGenerator.h.
| bool Ogre::RTShader::ShaderGenerator::SGTechnique::hasRenderState | ( | unsigned short | passIndex | ) |
Tells if a custom render state exists for the given pass.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
| void Ogre::RTShader::ShaderGenerator::SGTechnique::releasePrograms | ( | ) |
Release the CPU/GPU programs of this technique.
| void Ogre::RTShader::ShaderGenerator::SGTechnique::setBuildDestinationTechnique | ( | bool | buildTechnique | ) |
Tells the technique that it needs to generate shader code.
Definition at line 592 of file OgreShaderGenerator.h.
|
protected |
Definition at line 627 of file OgreShaderGenerator.h.
|
protected |
Definition at line 625 of file OgreShaderGenerator.h.
|
protected |
Definition at line 621 of file OgreShaderGenerator.h.
|
protected |
Definition at line 629 of file OgreShaderGenerator.h.
|
protected |
Definition at line 617 of file OgreShaderGenerator.h.
|
protected |
Definition at line 623 of file OgreShaderGenerator.h.
|
protected |
Definition at line 619 of file OgreShaderGenerator.h.
|
static |
Definition at line 605 of file OgreShaderGenerator.h.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.