OGRE  1.8
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::RTShader::ShaderGenerator::SGScheme Class Reference

Shader generator scheme class. More...

#include <OgreShaderGenerator.h>

+ Inheritance diagram for Ogre::RTShader::ShaderGenerator::SGScheme:
+ Collaboration diagram for Ogre::RTShader::ShaderGenerator::SGScheme:

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...
 
RenderStategetRenderState ()
 Get global render state of this scheme. More...
 
RenderStategetRenderState (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
 
RenderStatemRenderState
 
SGTechniqueList mTechniqueEntries
 

Detailed Description

Shader generator scheme class.

Definition at line 632 of file OgreShaderGenerator.h.

Constructor & Destructor Documentation

Ogre::RTShader::ShaderGenerator::SGScheme::SGScheme ( const String schemeName)
Ogre::RTShader::ShaderGenerator::SGScheme::~SGScheme ( )

Member Function Documentation

void Ogre::RTShader::ShaderGenerator::SGScheme::addTechniqueEntry ( SGTechnique techEntry)

Add a technique to current techniques list.

bool Ogre::RTShader::ShaderGenerator::SGScheme::empty ( ) const
inline

Return true if this scheme dose not contains any techniques.

Definition at line 641 of file OgreShaderGenerator.h.

RenderState* Ogre::RTShader::ShaderGenerator::SGScheme::getRenderState ( )

Get global render state of this scheme.

See also
ShaderGenerator::getRenderState.
RenderState* Ogre::RTShader::ShaderGenerator::SGScheme::getRenderState ( const String materialName,
const String groupName,
unsigned short  passIndex 
)

Get specific pass render state.

See also
ShaderGenerator::getRenderState.
void Ogre::RTShader::ShaderGenerator::SGScheme::invalidate ( )

Invalidate the whole scheme.

See also
ShaderGenerator::invalidateScheme.
void Ogre::RTShader::ShaderGenerator::SGScheme::invalidate ( const String materialName,
const String groupName = ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME 
)

Invalidate specific material.

See also
ShaderGenerator::invalidateMaterial.
template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

Definition at line 95 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

Definition at line 101 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 107 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

Definition at line 112 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 118 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

Definition at line 67 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

Definition at line 72 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inlineinherited

placement operator new

Definition at line 78 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

Definition at line 85 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

Definition at line 90 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.

void Ogre::RTShader::ShaderGenerator::SGScheme::validate ( )

Validate the whole scheme.

See also
ShaderGenerator::validateScheme.
bool Ogre::RTShader::ShaderGenerator::SGScheme::validate ( const String materialName,
const String groupName = ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME 
)

Validate specific material.

See also
ShaderGenerator::validateMaterial.

Member Data Documentation

FogMode Ogre::RTShader::ShaderGenerator::SGScheme::mFogMode
protected

Definition at line 698 of file OgreShaderGenerator.h.

String Ogre::RTShader::ShaderGenerator::SGScheme::mName
protected

Definition at line 690 of file OgreShaderGenerator.h.

bool Ogre::RTShader::ShaderGenerator::SGScheme::mOutOfDate
protected

Definition at line 694 of file OgreShaderGenerator.h.

RenderState* Ogre::RTShader::ShaderGenerator::SGScheme::mRenderState
protected

Definition at line 696 of file OgreShaderGenerator.h.

SGTechniqueList Ogre::RTShader::ShaderGenerator::SGScheme::mTechniqueEntries
protected

Definition at line 692 of file OgreShaderGenerator.h.


The documentation for this class was generated from the following file: