OGRE  1.10.12
Object-Oriented Graphics Rendering Engine
Ogre::RTShader::IntegratedPSSM3 Class Reference

Integrated PSSM shadow receiver with 3 splits sub render state implementation. More...

#include <OgreShaderExIntegratedPSSM3.h>

+ Inheritance diagram for Ogre::RTShader::IntegratedPSSM3:

Public Types

typedef vector< Real >::type SplitPointList
 

Public Member Functions

 IntegratedPSSM3 ()
 Class default constructor. More...
 
virtual void copyFrom (const SubRenderState &rhs)
 
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
 
virtual const StringgetType () const
 
virtual bool preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass)
 
void setSplitPoints (const SplitPointList &newSplitPoints)
 Manually configure a new splitting scheme. More...
 
virtual void updateGpuProgramsParams (Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
 

Static Public Attributes

static String Type
 

Detailed Description

Integrated PSSM shadow receiver with 3 splits sub render state implementation.

Derives from SubRenderState class.

Member Typedef Documentation

◆ SplitPointList

Constructor & Destructor Documentation

◆ IntegratedPSSM3()

Ogre::RTShader::IntegratedPSSM3::IntegratedPSSM3 ( )

Class default constructor.

Member Function Documentation

◆ getType()

virtual const String& Ogre::RTShader::IntegratedPSSM3::getType ( ) const
virtual

◆ getExecutionOrder()

virtual int Ogre::RTShader::IntegratedPSSM3::getExecutionOrder ( ) const
virtual

◆ updateGpuProgramsParams()

virtual void Ogre::RTShader::IntegratedPSSM3::updateGpuProgramsParams ( Renderable rend,
Pass pass,
const AutoParamDataSource source,
const LightList pLightList 
)
virtual

◆ copyFrom()

virtual void Ogre::RTShader::IntegratedPSSM3::copyFrom ( const SubRenderState rhs)
virtual

◆ preAddToRenderState()

virtual bool Ogre::RTShader::IntegratedPSSM3::preAddToRenderState ( const RenderState renderState,
Pass srcPass,
Pass dstPass 
)
virtual

◆ setSplitPoints()

void Ogre::RTShader::IntegratedPSSM3::setSplitPoints ( const SplitPointList newSplitPoints)

Manually configure a new splitting scheme.

Parameters
newSplitPointsA list which is splitCount + 1 entries long, containing the split points. The first value is the near point, the last value is the far point, and each value in between is both a far point of the previous split, and a near point for the next one.

◆ createCpuSubPrograms()

virtual bool Ogre::RTShader::SubRenderState::createCpuSubPrograms ( ProgramSet programSet)
virtualinherited

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 in Ogre::RTShader::FFPTransform.

◆ getAccessor() [1/2]

SubRenderStateAccessorPtr Ogre::RTShader::SubRenderState::getAccessor ( )
inherited

Return the accessor object to this sub render state.

See also
SubRenderStateAccessor.

◆ getAccessor() [2/2]

SubRenderStateAccessorPtr Ogre::RTShader::SubRenderState::getAccessor ( ) const
inherited

Return the accessor object to this sub render state.

See also
SubRenderStateAccessor.

Member Data Documentation

◆ Type

String Ogre::RTShader::IntegratedPSSM3::Type
static

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