OGRE  1.9.0
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Ogre::RTShader::ShaderGenerator::SGPass Class Reference

Shader generator pass wrapper class. More...

#include <OgreShaderGenerator.h>

Inheritance diagram for Ogre::RTShader::ShaderGenerator::SGPass:
Inheritance graph
[legend]

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.
 
SubRenderStategetCustomFFPSubState (int subStateOrder)
 Get custom FPP sub state of this pass.
 
RenderStategetCustomRenderState ()
 Get custom render state of this pass.
 
PassgetDstPass ()
 Get destination pass.
 
IlluminationStage getIlluminationStage ()
 Get illumination stage.
 
PassgetSrcPass ()
 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, 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

SubRenderStategetCustomFFPSubState (int subStateOrder, const RenderState *renderState)
 

Protected Attributes

RenderStatemCustomRenderState
 
PassmDstPass
 
SGTechniquemParent
 
PassmSrcPass
 
IlluminationStage mStage
 
TargetRenderStatemTargetRenderState
 

Detailed Description

Shader generator pass wrapper class.

Definition at line 526 of file OgreShaderGenerator.h.

Constructor & Destructor Documentation

◆ SGPass()

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

◆ ~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 561 of file OgreShaderGenerator.h.

◆ getDstPass()

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

Get destination pass.

Definition at line 549 of file OgreShaderGenerator.h.

◆ getIlluminationStage()

IlluminationStage Ogre::RTShader::ShaderGenerator::SGPass::getIlluminationStage ( )

Get illumination stage.

Definition at line 552 of file OgreShaderGenerator.h.

◆ getSrcPass()

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

Get source pass.

Definition at line 546 of file OgreShaderGenerator.h.

◆ isIlluminationPass()

bool Ogre::RTShader::ShaderGenerator::SGPass::isIlluminationPass ( )

Get illumination state.

Definition at line 555 of file OgreShaderGenerator.h.

References Ogre::IS_UNKNOWN.

◆ 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]

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.

◆ 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 564 of file OgreShaderGenerator.h.

Member Data Documentation

◆ mCustomRenderState

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

Definition at line 582 of file OgreShaderGenerator.h.

◆ mDstPass

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

Definition at line 578 of file OgreShaderGenerator.h.

◆ mParent

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

Definition at line 574 of file OgreShaderGenerator.h.

◆ mSrcPass

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

Definition at line 576 of file OgreShaderGenerator.h.

◆ mStage

IlluminationStage Ogre::RTShader::ShaderGenerator::SGPass::mStage
protected

Definition at line 580 of file OgreShaderGenerator.h.

◆ mTargetRenderState

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

Definition at line 584 of file OgreShaderGenerator.h.

◆ UserKey

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

Definition at line 567 of file OgreShaderGenerator.h.


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