OGRE  1.7
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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
 

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 375 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 404 of file OgreShaderGenerator.h.

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

Get destination pass.

Definition at line 398 of file OgreShaderGenerator.h.

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

Get source pass.

Definition at line 395 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 95 of file OgreMemoryAllocatedObject.h.

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

Definition at line 101 of file OgreMemoryAllocatedObject.h.

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

Definition at line 107 of file OgreMemoryAllocatedObject.h.

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

Definition at line 112 of file OgreMemoryAllocatedObject.h.

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

Definition at line 118 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 67 of file OgreMemoryAllocatedObject.h.

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

Definition at line 72 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 78 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 85 of file OgreMemoryAllocatedObject.h.

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

Definition at line 90 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 407 of file OgreShaderGenerator.h.

Member Data Documentation

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

Definition at line 418 of file OgreShaderGenerator.h.

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

Definition at line 417 of file OgreShaderGenerator.h.

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

Definition at line 415 of file OgreShaderGenerator.h.

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

Definition at line 416 of file OgreShaderGenerator.h.

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

Definition at line 419 of file OgreShaderGenerator.h.

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

Definition at line 409 of file OgreShaderGenerator.h.


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