OGRE  13.0
Object-Oriented Graphics Rendering Engine
Ogre::RTShader::WBOIT Class Reference

Transform sub render state implementation of writing to WBOIT buffers. More...

#include <OgreShaderExWBOIT.h>

+ Inheritance diagram for Ogre::RTShader::WBOIT:

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 StringgetType () 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...
 
- 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...
 
SubRenderStateoperator= (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
 

Detailed Description

Transform sub render state implementation of writing to WBOIT buffers.

Member Function Documentation

◆ getType()

const String& Ogre::RTShader::WBOIT::getType ( ) const
overridevirtual

Get the type of this sub render state.

Remarks
The type string should be unique among all registered sub render states.

Implements Ogre::RTShader::SubRenderState.

◆ getExecutionOrder()

int Ogre::RTShader::WBOIT::getExecutionOrder ( ) const
overridevirtual

Get the execution order of this sub render state.

Remarks
The return value should be synchronized with the predefined values of the FFPShaderStage enum.

Implements Ogre::RTShader::SubRenderState.

◆ preAddToRenderState()

bool Ogre::RTShader::WBOIT::preAddToRenderState ( const RenderState renderState,
Pass srcPass,
Pass dstPass 
)
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.

Parameters
renderStateThe target render state container this sub render state is about to be added.
srcPassThe source pass.
dstPassThe destination pass.

Reimplemented from Ogre::RTShader::SubRenderState.

◆ createCpuSubPrograms()

bool Ogre::RTShader::WBOIT::createCpuSubPrograms ( ProgramSet programSet)
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.

Parameters
programSetcontainer class of CPU and GPU programs that this sub state will affect on.

Reimplemented from Ogre::RTShader::SubRenderState.

◆ copyFrom()

void Ogre::RTShader::WBOIT::copyFrom ( const SubRenderState rhs)
inlineoverridevirtual

Copy details from a given sub render state to this one.

Parameters
rhsthe source sub state to copy from.

Implements Ogre::RTShader::SubRenderState.

Member Data Documentation

◆ Type

String Ogre::RTShader::WBOIT::Type
static

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