Ogre::RTShader::ShaderGenerator::SGPass Class Reference

Shader generator pass wrapper class. More...

#include <OgreShaderGenerator.h>

Inheritance diagram for Ogre::RTShader::ShaderGenerator::SGPass:

Public Member Functions

 SGPass (SGTechnique *parent, Pass *srcPass, Pass *dstPass)
 ~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.
Pass * getSrcPass ()
 Get source pass.
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, 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 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
TargetRenderState * mTargetRenderState

Detailed Description

Shader generator pass wrapper class.

Definition at line 509 of file OgreShaderGenerator.h.

Constructor & Destructor Documentation

◆ SGPass()

Ogre::RTShader::ShaderGenerator::SGPass::SGPass ( SGTechnique * parent,
Pass * srcPass,
Pass * dstPass )

◆ ~SGPass()

Ogre::RTShader::ShaderGenerator::SGPass::~SGPass ( )

Member Function Documentation

◆ acquirePrograms()

void Ogre::RTShader::ShaderGenerator::SGPass::acquirePrograms ( )

Acquire the CPU/GPU programs for this pass.

◆ buildTargetRenderState()

void Ogre::RTShader::ShaderGenerator::SGPass::buildTargetRenderState ( )

Build the render state.

◆ getCustomFFPSubState() [1/2]

SubRenderState * Ogre::RTShader::ShaderGenerator::SGPass::getCustomFFPSubState ( int subStateOrder)

Get custom FPP sub state of this pass.

◆ getCustomFFPSubState() [2/2]

SubRenderState * Ogre::RTShader::ShaderGenerator::SGPass::getCustomFFPSubState ( int subStateOrder,
const RenderState * renderState )
protected

◆ getCustomRenderState()

RenderState * Ogre::RTShader::ShaderGenerator::SGPass::getCustomRenderState ( )

Get custom render state of this pass.

Definition at line 538 of file OgreShaderGenerator.h.

References mCustomRenderState.

◆ getDstPass()

Pass * Ogre::RTShader::ShaderGenerator::SGPass::getDstPass ( )

Get destination pass.

Definition at line 532 of file OgreShaderGenerator.h.

References mDstPass.

◆ getSrcPass()

Pass * Ogre::RTShader::ShaderGenerator::SGPass::getSrcPass ( )

Get source pass.

Definition at line 529 of file OgreShaderGenerator.h.

References mSrcPass.

◆ notifyRenderSingleObject()

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.

◆ operator delete() [1/3]

void Ogre::AllocatedObject< GeneralAllocPolicy >::operator delete ( void * ptr)
inherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [2/3]

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

Definition at line 108 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [3/3]

void Ogre::AllocatedObject< GeneralAllocPolicy >::operator delete ( void * ptr,
void *  )
inherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

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

void Ogre::AllocatedObject< GeneralAllocPolicy >::operator delete[] ( void * ptr)
inherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

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

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

Definition at line 119 of file OgreMemoryAllocatedObject.h.

◆ operator new() [1/3]

void * Ogre::AllocatedObject< GeneralAllocPolicy >::operator new ( size_t sz)
inherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

◆ operator new() [2/3]

void * Ogre::AllocatedObject< GeneralAllocPolicy >::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]

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

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

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

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

Definition at line 91 of file OgreMemoryAllocatedObject.h.

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

void * Ogre::AllocatedObject< GeneralAllocPolicy >::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.

◆ releasePrograms()

void Ogre::RTShader::ShaderGenerator::SGPass::releasePrograms ( )

Release the CPU/GPU programs of this pass.

◆ setCustomRenderState()

void Ogre::RTShader::ShaderGenerator::SGPass::setCustomRenderState ( RenderState * customRenderState)

Set the custom render state of this pass.

Definition at line 541 of file OgreShaderGenerator.h.

References mCustomRenderState.

Member Data Documentation

◆ mCustomRenderState

RenderState* Ogre::RTShader::ShaderGenerator::SGPass::mCustomRenderState
protected

Definition at line 557 of file OgreShaderGenerator.h.

Referenced by getCustomRenderState(), and setCustomRenderState().

◆ mDstPass

Pass* Ogre::RTShader::ShaderGenerator::SGPass::mDstPass
protected

Definition at line 555 of file OgreShaderGenerator.h.

Referenced by getDstPass().

◆ mParent

SGTechnique* Ogre::RTShader::ShaderGenerator::SGPass::mParent
protected

Definition at line 551 of file OgreShaderGenerator.h.

◆ mSrcPass

Pass* Ogre::RTShader::ShaderGenerator::SGPass::mSrcPass
protected

Definition at line 553 of file OgreShaderGenerator.h.

Referenced by getSrcPass().

◆ mTargetRenderState

TargetRenderState* Ogre::RTShader::ShaderGenerator::SGPass::mTargetRenderState
protected

Definition at line 559 of file OgreShaderGenerator.h.

◆ UserKey

String Ogre::RTShader::ShaderGenerator::SGPass::UserKey
static

Definition at line 544 of file OgreShaderGenerator.h.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.