OGRE
13.6
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 | |
void | copyFrom (const SubRenderState &rhs) override |
bool | createCpuSubPrograms (ProgramSet *programSet) override |
int | getExecutionOrder () const override |
const String & | getType () const override |
bool | preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass) override |
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 |
|
overridevirtual |
Implements Ogre::RTShader::SubRenderState.
|
overridevirtual |
Implements Ogre::RTShader::SubRenderState.
|
overridevirtual |
Implements Ogre::RTShader::SubRenderState.
|
overridevirtual |
Reimplemented from Ogre::RTShader::SubRenderState.
|
overridevirtual |
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 |