Shader generator scheme class. More...
#include <OgreShaderGenerator.h>
Public Member Functions | |
SGScheme (const String &schemeName) | |
~SGScheme () | |
bool | empty () const |
Return true if this scheme dose not contains any techniques. | |
void | invalidate () |
Invalidate the whole scheme. | |
void | validate () |
Validate the whole scheme. | |
void | invalidate (const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME) |
Invalidate specific material. | |
bool | validate (const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME) |
Validate specific material. | |
void | addTechniqueEntry (SGTechnique *techEntry) |
Add a technique to current techniques list. | |
void | removeTechniqueEntry (SGTechnique *techEntry) |
Remove a technique from the current techniques list. | |
RenderState * | getRenderState () |
Get global render state of this scheme. | |
RenderState * | getRenderState (const String &materialName, const String &groupName, unsigned short passIndex) |
Get specific pass render state. | |
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 * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void * | operator new[] (size_t sz) |
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 *) |
Protected Member Functions | |
void | synchronizeWithLightSettings () |
Synchronize the current light settings of this scheme with the current settings of the scene. | |
void | synchronizeWithFogSettings () |
Synchronize the fog settings of this scheme with the current settings of the scene. | |
Protected Attributes | |
String | mName |
SGTechniqueList | mTechniqueEntries |
bool | mOutOfDate |
RenderState * | mRenderState |
FogMode | mFogMode |
Shader generator scheme class.
Definition at line 615 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 624 of file OgreShaderGenerator.h.
RenderState* Ogre::RTShader::ShaderGenerator::SGScheme::getRenderState | ( | const String & | materialName, | |
const String & | groupName, | |||
unsigned short | passIndex | |||
) |
Get specific pass render state.
RenderState* Ogre::RTShader::ShaderGenerator::SGScheme::getRenderState | ( | ) |
Get global render state of this scheme.
void Ogre::RTShader::ShaderGenerator::SGScheme::invalidate | ( | const String & | materialName, | |
const String & | groupName = ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME | |||
) |
Invalidate specific material.
void Ogre::RTShader::ShaderGenerator::SGScheme::invalidate | ( | ) |
Invalidate the whole scheme.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
void * | ||||
) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
void * | ptr | |||
) | [inherited] |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
void Ogre::RTShader::ShaderGenerator::SGScheme::removeTechniqueEntry | ( | SGTechnique * | techEntry | ) |
Remove a technique from the current techniques list.
void Ogre::RTShader::ShaderGenerator::SGScheme::synchronizeWithFogSettings | ( | ) | [protected] |
Synchronize the fog settings of this scheme with the current settings of the scene.
void Ogre::RTShader::ShaderGenerator::SGScheme::synchronizeWithLightSettings | ( | ) | [protected] |
Synchronize the current light settings of this scheme with the current settings of the scene.
bool Ogre::RTShader::ShaderGenerator::SGScheme::validate | ( | const String & | materialName, | |
const String & | groupName = ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME | |||
) |
Validate specific material.
void Ogre::RTShader::ShaderGenerator::SGScheme::validate | ( | ) |
Validate the whole scheme.
Definition at line 676 of file OgreShaderGenerator.h.
Definition at line 672 of file OgreShaderGenerator.h.
bool Ogre::RTShader::ShaderGenerator::SGScheme::mOutOfDate [protected] |
Definition at line 674 of file OgreShaderGenerator.h.
Definition at line 675 of file OgreShaderGenerator.h.
Definition at line 673 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 May 25 23:42:40 2012