OGRE
1.12.13
Object-Oriented Graphics Rendering Engine
|
Transform sub render state implementation of writing to GBuffers. More...
#include <OgreShaderExGBuffer.h>
Public Types | |
typedef std::vector< TargetLayout > | TargetBuffers |
enum | TargetLayout { TL_DEPTH, TL_NORMAL, TL_VIEWPOS, TL_NORMAL_VIEWDEPTH, TL_DIFFUSE_SPECULAR } |
Public Member Functions | |
virtual void | copyFrom (const SubRenderState &rhs) |
virtual bool | createCpuSubPrograms (ProgramSet *programSet) |
virtual int | getExecutionOrder () const |
virtual const String & | getType () const |
bool | preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass) |
Called before adding this sub render state to the given render state. More... | |
void | setOutBuffers (const TargetBuffers &buffers) |
Public Member Functions inherited from Ogre::RTShader::SubRenderState | |
SubRenderState () | |
Class default constructor. More... | |
virtual | ~SubRenderState () |
Class destructor. More... | |
SubRenderStateAccessorPtr | getAccessor () |
Return the accessor object to this sub render state. More... | |
SubRenderStateAccessorPtr | getAccessor () const |
Return the accessor object to this sub render state. More... | |
SubRenderState & | operator= (const SubRenderState &rhs) |
Operator = declaration. More... | |
virtual bool | setParameter (const String &name, const String &value) |
generic set method for parameters that connot be derived in preAddToRenderState More... | |
virtual void | updateGpuProgramsParams (Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList) |
Update GPU programs parameters before a rendering operation occurs. More... | |
Static Public Attributes | |
static String | Type |
Transform sub render state implementation of writing to GBuffers.
typedef std::vector<TargetLayout> Ogre::RTShader::GBuffer::TargetBuffers |
|
virtual |
Implements Ogre::RTShader::SubRenderState.
|
virtual |
Implements Ogre::RTShader::SubRenderState.
|
virtual |
Implements Ogre::RTShader::SubRenderState.
|
virtual |
Reimplemented from Ogre::RTShader::SubRenderState.
|
virtual |
Called before adding this sub render state to the given render state.
Allows this sub render state class to configure specific parameters depending on source pass or parent render state. Return of false value will cause canceling the add operation.
renderState | The target render state container this sub render state is about to be added. |
srcPass | The source pass. |
dstPass | The destination pass. |
Reimplemented from Ogre::RTShader::SubRenderState.
|
inline |
|
static |