#include <OgreShaderGenerator.h>
Public Member Functions | |
SGTechnique (SGMaterial *parent, Technique *srcTechnique, const String &dstTechniqueSchemeName) | |
~SGTechnique () | |
const SGMaterial * | getParent () const |
Get the parent SGMaterial. | |
Technique * | getSourceTechnique () |
Get the source technique. | |
Technique * | getDestinationTechnique () |
Get the destination technique. | |
const String & | getDestinationTechniqueSchemeName () const |
Get the destination technique scheme name. | |
void | buildTargetRenderState () |
Build the render state. | |
void | acquirePrograms () |
Acquire the CPU/GPU programs for this technique. | |
void | releasePrograms () |
Release the CPU/GPU programs of this technique. | |
void | setBuildDestinationTechnique (bool buildTechnique) |
Tells the technique that it needs to generate shader code. | |
bool | getBuildDestinationTechnique () const |
Tells if the destination technique should be build. | |
RenderState * | getRenderState (unsigned short passIndex) |
Get render state of specific pass. | |
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 *) |
Static Public Attributes | |
static String | UserKey |
Protected Member Functions | |
void | createSGPasses () |
Create the passes entries. | |
void | destroySGPasses () |
Destroy the passes entries. | |
Protected Attributes | |
SGMaterial * | mParent |
Technique * | mSrcTechnique |
Technique * | mDstTechnique |
SGPassList | mPassEntries |
RenderStateList | mCustomRenderStates |
bool | mBuildDstTechnique |
String | mDstTechniqueSchemeName |
Definition at line 424 of file OgreShaderGenerator.h.
Ogre::RTShader::ShaderGenerator::SGTechnique::SGTechnique | ( | SGMaterial * | parent, | |
Technique * | srcTechnique, | |||
const String & | dstTechniqueSchemeName | |||
) |
Ogre::RTShader::ShaderGenerator::SGTechnique::~SGTechnique | ( | ) |
const SGMaterial* Ogre::RTShader::ShaderGenerator::SGTechnique::getParent | ( | ) | const |
Technique* Ogre::RTShader::ShaderGenerator::SGTechnique::getSourceTechnique | ( | ) |
Technique* Ogre::RTShader::ShaderGenerator::SGTechnique::getDestinationTechnique | ( | ) |
const String& Ogre::RTShader::ShaderGenerator::SGTechnique::getDestinationTechniqueSchemeName | ( | ) | const |
void Ogre::RTShader::ShaderGenerator::SGTechnique::buildTargetRenderState | ( | ) |
Build the render state.
void Ogre::RTShader::ShaderGenerator::SGTechnique::acquirePrograms | ( | ) |
Acquire the CPU/GPU programs for this technique.
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 452 of file OgreShaderGenerator.h.
bool Ogre::RTShader::ShaderGenerator::SGTechnique::getBuildDestinationTechnique | ( | ) | const |
Tells if the destination technique should be build.
Definition at line 455 of file OgreShaderGenerator.h.
RenderState* Ogre::RTShader::ShaderGenerator::SGTechnique::getRenderState | ( | unsigned short | passIndex | ) |
Get render state of specific pass.
passIndex | The pass index. |
void Ogre::RTShader::ShaderGenerator::SGTechnique::createSGPasses | ( | ) | [protected] |
Create the passes entries.
void Ogre::RTShader::ShaderGenerator::SGTechnique::destroySGPasses | ( | ) | [protected] |
Destroy the passes entries.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
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, | |
void * | ptr | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 90 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, | |
void * | ||||
) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
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 | ) | [inherited] |
Definition at line 112 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.
Definition at line 462 of file OgreShaderGenerator.h.
Definition at line 474 of file OgreShaderGenerator.h.
Definition at line 475 of file OgreShaderGenerator.h.
Definition at line 476 of file OgreShaderGenerator.h.
Definition at line 477 of file OgreShaderGenerator.h.
Definition at line 478 of file OgreShaderGenerator.h.
bool Ogre::RTShader::ShaderGenerator::SGTechnique::mBuildDstTechnique [protected] |
Definition at line 479 of file OgreShaderGenerator.h.
Definition at line 480 of file OgreShaderGenerator.h.
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 24 18:10:16 2010