Shader generator scheme class. More...
#include <OgreShaderGenerator.h>
Public Member Functions | |
SGScheme (const String &schemeName) | |
~SGScheme () | |
void | addTechniqueEntry (SGTechnique *techEntry) |
Add a technique to current techniques list. More... | |
bool | empty () const |
Return true if this scheme dose not contains any techniques. More... | |
RenderState * | getRenderState () |
Get global render state of this scheme. More... | |
RenderState * | getRenderState (const String &materialName, const String &groupName, unsigned short passIndex) |
Get specific pass render state. More... | |
void | invalidate () |
Invalidate the whole scheme. More... | |
void | invalidate (const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME) |
Invalidate specific material. 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 | removeTechniqueEntry (SGTechnique *techEntry) |
Remove a technique from the current techniques list. More... | |
void | validate () |
Validate the whole scheme. More... | |
bool | validate (const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME) |
Validate specific material. More... | |
Protected Member Functions | |
void | synchronizeWithFogSettings () |
Synchronize the fog settings of this scheme with the current settings of the scene. More... | |
void | synchronizeWithLightSettings () |
Synchronize the current light settings of this scheme with the current settings of the scene. More... | |
Protected Attributes | |
FogMode | mFogMode |
String | mName |
bool | mOutOfDate |
RenderState * | mRenderState |
SGTechniqueList | mTechniqueEntries |
Shader generator scheme class.
Definition at line 667 of file OgreShaderGenerator.h.
Ogre::RTShader::ShaderGenerator::SGScheme::SGScheme | ( | const String & | schemeName | ) |
Ogre::RTShader::ShaderGenerator::SGScheme::~SGScheme | ( | ) |
void Ogre::RTShader::ShaderGenerator::SGScheme::addTechniqueEntry | ( | SGTechnique * | techEntry | ) |
Add a technique to current techniques list.
bool Ogre::RTShader::ShaderGenerator::SGScheme::empty | ( | ) | const |
Return true if this scheme dose not contains any techniques.
Definition at line 676 of file OgreShaderGenerator.h.
RenderState* Ogre::RTShader::ShaderGenerator::SGScheme::getRenderState | ( | ) |
Get global render state of this scheme.
RenderState* Ogre::RTShader::ShaderGenerator::SGScheme::getRenderState | ( | const String & | materialName, |
const String & | groupName, | ||
unsigned short | passIndex | ||
) |
Get specific pass render state.
void Ogre::RTShader::ShaderGenerator::SGScheme::invalidate | ( | ) |
Invalidate the whole scheme.
void Ogre::RTShader::ShaderGenerator::SGScheme::invalidate | ( | const String & | materialName, |
const String & | groupName = ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME |
||
) |
Invalidate specific material.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
void Ogre::RTShader::ShaderGenerator::SGScheme::removeTechniqueEntry | ( | SGTechnique * | techEntry | ) |
Remove a technique from the current techniques list.
|
protected |
Synchronize the fog settings of this scheme with the current settings of the scene.
|
protected |
Synchronize the current light settings of this scheme with the current settings of the scene.
void Ogre::RTShader::ShaderGenerator::SGScheme::validate | ( | ) |
Validate the whole scheme.
bool Ogre::RTShader::ShaderGenerator::SGScheme::validate | ( | const String & | materialName, |
const String & | groupName = ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME |
||
) |
Validate specific material.
|
protected |
Definition at line 733 of file OgreShaderGenerator.h.
|
protected |
Definition at line 725 of file OgreShaderGenerator.h.
|
protected |
Definition at line 729 of file OgreShaderGenerator.h.
|
protected |
Definition at line 731 of file OgreShaderGenerator.h.
|
protected |
Definition at line 727 of file OgreShaderGenerator.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri Dec 20 2013 01:24:43