OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::RTShader::ShaderGenerator::SGPass Class Reference

Shader generator pass wrapper class. More...

#include <OgreShaderGenerator.h>

+ Inheritance diagram for Ogre::RTShader::ShaderGenerator::SGPass:
+ Collaboration 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. More...
 
void buildTargetRenderState ()
 Build the render state. More...
 
SubRenderStategetCustomFFPSubState (int subStateOrder)
 Get custom FPP sub state of this pass. More...
 
RenderStategetCustomRenderState ()
 Get custom render state of this pass. More...
 
PassgetDstPass ()
 Get destination pass. More...
 
PassgetSrcPass ()
 Get source pass. More...
 
void notifyRenderSingleObject (Renderable *rend, const AutoParamDataSource *source, const LightList *pLightList, bool suppressRenderStateChanges)
 Called when a single object is about to be rendered. More...
 
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 *)
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info More...
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
void * operator new[] (size_t sz)
 
void releasePrograms ()
 Release the CPU/GPU programs of this pass. More...
 
void setCustomRenderState (RenderState *customRenderState)
 Set the custom render state of this pass. More...
 

Static Public Attributes

static String UserKey
 Key name for associating with a Pass instance. More...
 

Protected Member Functions

SubRenderStategetCustomFFPSubState (int subStateOrder, const RenderState *renderState)
 

Protected Attributes

RenderStatemCustomRenderState
 
PassmDstPass
 
SGTechniquemParent
 
PassmSrcPass
 
TargetRenderStatemTargetRenderState
 

Detailed Description

Shader generator pass wrapper class.

Definition at line 528 of file OgreShaderGenerator.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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.

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

Get custom render state of this pass.

Definition at line 557 of file OgreShaderGenerator.h.

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

Get destination pass.

Definition at line 551 of file OgreShaderGenerator.h.

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

Get source pass.

Definition at line 548 of file OgreShaderGenerator.h.

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.

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

Definition at line 96 of file OgreMemoryAllocatedObject.h.

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

Definition at line 102 of file OgreMemoryAllocatedObject.h.

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

Definition at line 108 of file OgreMemoryAllocatedObject.h.

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

Definition at line 113 of file OgreMemoryAllocatedObject.h.

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

Definition at line 119 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

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

Definition at line 73 of file OgreMemoryAllocatedObject.h.

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

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

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

Definition at line 91 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)
inline

Set the custom render state of this pass.

Definition at line 560 of file OgreShaderGenerator.h.

Member Data Documentation

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

Definition at line 576 of file OgreShaderGenerator.h.

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

Definition at line 574 of file OgreShaderGenerator.h.

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

Definition at line 570 of file OgreShaderGenerator.h.

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

Definition at line 572 of file OgreShaderGenerator.h.

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

Definition at line 578 of file OgreShaderGenerator.h.

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

Key name for associating with a Pass instance.

Definition at line 563 of file OgreShaderGenerator.h.


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