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

Shader generator pass wrapper class. More...

`#include <OgreShaderGenerator.h>`

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

## 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...
SubRenderState * | getCustomFFPSubState (int subStateOrder)
| Get custom FPP sub state of this pass. More...
RenderState * | getCustomRenderState ()
| Get custom render state of this pass. More...
Pass * | getDstPass ()
| Get destination pass. More...
Pass * | getSrcPass ()
| 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

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.

## getDstPass()

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

Get destination pass.

Definition at line 532 of file OgreShaderGenerator.h.

## getSrcPass()

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

Get source pass.

Definition at line 529 of file OgreShaderGenerator.h.

## 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,
|  | void * |
| ) |  |

inherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

## operator delete() [3/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[]() [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,
|  | 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() [2/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) |

inherited

Definition at line 73 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,
|  | const char * | file,
|  | int | line,
|  | const char * | func
| ) |  |

inherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

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

template<class Alloc >

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

inherited

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

## Member Data Documentation

## mCustomRenderState

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

protected

Definition at line 557 of file OgreShaderGenerator.h.

## mDstPass

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

protected

Definition at line 555 of file OgreShaderGenerator.h.

## 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.

## 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:

- OgreShaderGenerator.h

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