![]() |
OGRE 13.2
Object-Oriented Graphics Rendering Engine
|
Transform sub render state implementation of writing to WBOIT buffers. More...
#include <OgreShaderExWBOIT.h>
Public Member Functions | |
void | copyFrom (const SubRenderState &rhs) override |
Copy details from a given sub render state to this one. More... | |
bool | createCpuSubPrograms (ProgramSet *programSet) override |
Create sub programs that represents this sub render state as part of a program set. More... | |
int | getExecutionOrder () const override |
Get the execution order of this sub render state. More... | |
const String & | getType () const override |
Get the type of this sub render state. More... | |
bool | preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass) override |
Called before adding this sub render state to the given render state. More... | |
![]() | |
SubRenderState () | |
Class default constructor. More... | |
virtual | ~SubRenderState () |
Class destructor. More... | |
virtual void | copyFrom (const SubRenderState &rhs)=0 |
Copy details from a given sub render state to this one. More... | |
virtual bool | createCpuSubPrograms (ProgramSet *programSet) |
Create sub programs that represents this sub render state as part of a program set. 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... | |
virtual int | getExecutionOrder () const =0 |
Get the execution order of this sub render state. More... | |
virtual const String & | getType () const =0 |
Get the type of this sub render state. More... | |
SubRenderState & | operator= (const SubRenderState &rhs) |
Operator = declaration. More... | |
virtual bool | preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass) |
Called before adding this sub render state to the given render state. 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 WBOIT buffers.
|
overridevirtual |
Get the type of this sub render state.
Implements Ogre::RTShader::SubRenderState.
|
overridevirtual |
Get the execution order of this sub render state.
Implements 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.
|
overridevirtual |
Create sub programs that represents this sub render state as part of a program set.
The given program set contains CPU programs that represents a vertex shader and pixel shader. One should use these program class API to create a representation of the sub state he wished to implement.
programSet | container class of CPU and GPU programs that this sub state will affect on. |
Reimplemented from Ogre::RTShader::SubRenderState.
|
inlineoverridevirtual |
Copy details from a given sub render state to this one.
rhs | the source sub state to copy from. |
Implements Ogre::RTShader::SubRenderState.
|
static |