OGRE
1.9.0
|
Shader generator pass wrapper class. More...
#include <OgreShaderGenerator.h>
Public Member Functions | |
SGPass (SGTechnique *parent, Pass *srcPass, Pass *dstPass, IlluminationStage stage) | |
~SGPass () | |
void | acquirePrograms () |
Acquire the CPU/GPU programs for this pass. | |
void | buildTargetRenderState () |
Build the render state. | |
SubRenderState * | getCustomFFPSubState (int subStateOrder) |
Get custom FPP sub state of this pass. | |
RenderState * | getCustomRenderState () |
Get custom render state of this pass. | |
Pass * | getDstPass () |
Get destination pass. | |
IlluminationStage | getIlluminationStage () |
Get illumination stage. | |
Pass * | getSrcPass () |
Get source pass. | |
bool | isIlluminationPass () |
Get illumination state. | |
void | notifyRenderSingleObject (Renderable *rend, const AutoParamDataSource *source, const LightList *pLightList, bool suppressRenderStateChanges) |
Called when a single object is about to be rendered. | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
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, 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 *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
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 * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void | releasePrograms () |
Release the CPU/GPU programs of this pass. | |
void | setCustomRenderState (RenderState *customRenderState) |
Set the custom render state of this pass. | |
Static Public Attributes | |
static String | UserKey |
Protected Member Functions | |
SubRenderState * | getCustomFFPSubState (int subStateOrder, const RenderState *renderState) |
Protected Attributes | |
RenderState * | mCustomRenderState |
Pass * | mDstPass |
SGTechnique * | mParent |
Pass * | mSrcPass |
IlluminationStage | mStage |
TargetRenderState * | mTargetRenderState |
Shader generator pass wrapper class.
Definition at line 526 of file OgreShaderGenerator.h.
Ogre::RTShader::ShaderGenerator::SGPass::SGPass | ( | SGTechnique * | parent, |
Pass * | srcPass, | ||
Pass * | dstPass, | ||
IlluminationStage | stage ) |
Ogre::RTShader::ShaderGenerator::SGPass::~SGPass | ( | ) |
void Ogre::RTShader::ShaderGenerator::SGPass::acquirePrograms | ( | ) |
Acquire the CPU/GPU programs for this pass.
void Ogre::RTShader::ShaderGenerator::SGPass::buildTargetRenderState | ( | ) |
Build the render state.
SubRenderState * Ogre::RTShader::ShaderGenerator::SGPass::getCustomFFPSubState | ( | int | subStateOrder | ) |
Get custom FPP sub state of this pass.
|
protected |
RenderState * Ogre::RTShader::ShaderGenerator::SGPass::getCustomRenderState | ( | ) |
Get custom render state of this pass.
Definition at line 561 of file OgreShaderGenerator.h.
References mCustomRenderState.
Pass * Ogre::RTShader::ShaderGenerator::SGPass::getDstPass | ( | ) |
IlluminationStage Ogre::RTShader::ShaderGenerator::SGPass::getIlluminationStage | ( | ) |
Pass * Ogre::RTShader::ShaderGenerator::SGPass::getSrcPass | ( | ) |
bool Ogre::RTShader::ShaderGenerator::SGPass::isIlluminationPass | ( | ) |
Get illumination state.
Definition at line 555 of file OgreShaderGenerator.h.
References Ogre::IS_UNKNOWN, and mStage.
void Ogre::RTShader::ShaderGenerator::SGPass::notifyRenderSingleObject | ( | Renderable * | rend, |
const AutoParamDataSource * | source, | ||
const LightList * | pLightList, | ||
bool | suppressRenderStateChanges ) |
Called when a single object is about to be rendered.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
void Ogre::RTShader::ShaderGenerator::SGPass::releasePrograms | ( | ) |
Release the CPU/GPU programs of this pass.
void Ogre::RTShader::ShaderGenerator::SGPass::setCustomRenderState | ( | RenderState * | customRenderState | ) |
Set the custom render state of this pass.
Definition at line 564 of file OgreShaderGenerator.h.
References mCustomRenderState.
|
protected |
Definition at line 582 of file OgreShaderGenerator.h.
Referenced by getCustomRenderState(), and setCustomRenderState().
|
protected |
Definition at line 578 of file OgreShaderGenerator.h.
Referenced by getDstPass().
|
protected |
Definition at line 574 of file OgreShaderGenerator.h.
|
protected |
Definition at line 576 of file OgreShaderGenerator.h.
Referenced by getSrcPass().
|
protected |
Definition at line 580 of file OgreShaderGenerator.h.
Referenced by getIlluminationStage(), and isIlluminationPass().
|
protected |
Definition at line 584 of file OgreShaderGenerator.h.
|
static |
Definition at line 567 of file OgreShaderGenerator.h.