OGRE  1.9.0
Ogre::RTShader::ShaderGenerator::SGScheme Class Reference

Shader generator scheme class. More...

#include <OgreShaderGenerator.h>

Inheritance 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.
 
bool empty () const
 Return true if this scheme dose not contains any techniques.
 
RenderStategetRenderState ()
 Get global render state of this scheme.
 
RenderStategetRenderState (const String &materialName, const String &groupName, unsigned short passIndex)
 Get specific pass render state.
 
void invalidate ()
 Invalidate the whole scheme.
 
void invalidate (const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
 Invalidate specific material.
 
void invalidateIlluminationPasses (const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
 Validate illumination passes of the specific material.
 
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 removeTechniqueEntry (SGTechnique *techEntry)
 Remove a technique from the current techniques list.
 
void validate ()
 Validate the whole scheme.
 
bool validate (const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
 Validate specific material.
 
bool validateIlluminationPasses (const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
 Validate illumination passes of the specific material.
 

Protected Member Functions

void synchronizeWithFogSettings ()
 Synchronize the fog settings of this scheme with the current settings of the scene.
 
void synchronizeWithLightSettings ()
 Synchronize the current light settings of this scheme with the current settings of the scene.
 

Protected Attributes

FogMode mFogMode
 
String mName
 
bool mOutOfDate
 
RenderStatemRenderState
 
SGTechniqueList mTechniqueEntries
 

Detailed Description

Shader generator scheme class.

Definition at line 706 of file OgreShaderGenerator.h.

Constructor & Destructor Documentation

◆ SGScheme()

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

◆ ~SGScheme()

Ogre::RTShader::ShaderGenerator::SGScheme::~SGScheme ( )

Member Function Documentation

◆ addTechniqueEntry()

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

Add a technique to current techniques list.

◆ empty()

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

Return true if this scheme dose not contains any techniques.

Definition at line 715 of file OgreShaderGenerator.h.

◆ getRenderState() [1/2]

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

Get global render state of this scheme.

See also
ShaderGenerator::getRenderState.

◆ getRenderState() [2/2]

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

Get specific pass render state.

See also
ShaderGenerator::getRenderState.

◆ invalidate() [1/2]

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

Invalidate the whole scheme.

See also
ShaderGenerator::invalidateScheme.

◆ invalidate() [2/2]

void Ogre::RTShader::ShaderGenerator::SGScheme::invalidate ( const String & materialName,
const String & groupName = ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME )

Invalidate specific material.

See also
ShaderGenerator::invalidateMaterial.

◆ invalidateIlluminationPasses()

void Ogre::RTShader::ShaderGenerator::SGScheme::invalidateIlluminationPasses ( const String & materialName,
const String & groupName = ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME )

Validate illumination passes of the specific material.

See also
ShaderGenerator::invalidateMaterialIlluminationPasses.

◆ operator delete() [1/3]

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

Definition at line 96 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [2/3]

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

Definition at line 108 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [3/3]

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

Definition at line 102 of file OgreMemoryAllocatedObject.h.

◆ operator delete[]() [1/2]

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

Definition at line 113 of file OgreMemoryAllocatedObject.h.

◆ operator delete[]() [2/2]

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

Definition at line 119 of file OgreMemoryAllocatedObject.h.

◆ operator new() [1/3]

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

Definition at line 73 of file OgreMemoryAllocatedObject.h.

◆ operator new() [2/3]

template<class Alloc >
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 68 of file OgreMemoryAllocatedObject.h.

◆ operator new() [3/3]

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

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

◆ operator new[]() [1/2]

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

Definition at line 91 of file OgreMemoryAllocatedObject.h.

◆ operator new[]() [2/2]

template<class Alloc >
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 86 of file OgreMemoryAllocatedObject.h.

◆ removeTechniqueEntry()

void Ogre::RTShader::ShaderGenerator::SGScheme::removeTechniqueEntry ( SGTechnique * techEntry)

Remove a technique from the current techniques list.

◆ synchronizeWithFogSettings()

void Ogre::RTShader::ShaderGenerator::SGScheme::synchronizeWithFogSettings ( )
protected

Synchronize the fog settings of this scheme with the current settings of the scene.

◆ synchronizeWithLightSettings()

void Ogre::RTShader::ShaderGenerator::SGScheme::synchronizeWithLightSettings ( )
protected

Synchronize the current light settings of this scheme with the current settings of the scene.

◆ validate() [1/2]

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

Validate the whole scheme.

See also
ShaderGenerator::validateScheme.

◆ validate() [2/2]

bool Ogre::RTShader::ShaderGenerator::SGScheme::validate ( const String & materialName,
const String & groupName = ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME )

Validate specific material.

See also
ShaderGenerator::validateMaterial.

◆ validateIlluminationPasses()

bool Ogre::RTShader::ShaderGenerator::SGScheme::validateIlluminationPasses ( const String & materialName,
const String & groupName = ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME )

Validate illumination passes of the specific material.

See also
ShaderGenerator::validateMaterialIlluminationPasses.

Member Data Documentation

◆ mFogMode

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

Definition at line 782 of file OgreShaderGenerator.h.

◆ mName

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

Definition at line 774 of file OgreShaderGenerator.h.

◆ mOutOfDate

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

Definition at line 778 of file OgreShaderGenerator.h.

◆ mRenderState

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

Definition at line 780 of file OgreShaderGenerator.h.

◆ mTechniqueEntries

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

Definition at line 776 of file OgreShaderGenerator.h.


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