OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
PSSM shadow receiver with up to 3 splits. Custom split points. More...
#include <OgreShaderExIntegratedPSSM3.h>
Public Types | |
typedef std::vector< Real > | SplitPointList |
Public Member Functions | |
IntegratedPSSM3 () | |
Class default constructor. More... | |
void | copyFrom (const SubRenderState &rhs) override |
int | getExecutionOrder () const override |
const String & | getType () const override |
Get the type of this sub render state. More... | |
bool | preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass) override |
void | setDebug (bool enable) |
bool | setParameter (const String &name, const String &value) override |
generic set method for parameters that connot be derived in preAddToRenderState More... | |
void | setSplitPoints (const SplitPointList &newSplitPoints) |
Manually configure a new splitting scheme. More... | |
void | updateGpuProgramsParams (Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList) override |
Public Member Functions inherited from Ogre::RTShader::SubRenderState | |
SubRenderState () | |
Class default constructor. More... | |
virtual | ~SubRenderState () |
Class destructor. 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... | |
SubRenderState & | operator= (const SubRenderState &rhs) |
Operator = declaration. More... | |
Static Public Attributes | |
static String | Type |
PSSM shadow receiver with up to 3 splits. Custom split points.
typedef std::vector<Real> Ogre::RTShader::IntegratedPSSM3::SplitPointList |
Ogre::RTShader::IntegratedPSSM3::IntegratedPSSM3 | ( | ) |
Class default constructor.
|
inlineoverridevirtual |
Get the type of this sub render state.
Implements Ogre::RTShader::SubRenderState.
References Ogre::RTShader::SRS_INTEGRATED_PSSM3.
|
overridevirtual |
Implements Ogre::RTShader::SubRenderState.
|
overridevirtual |
Reimplemented from Ogre::RTShader::SubRenderState.
|
overridevirtual |
Implements Ogre::RTShader::SubRenderState.
|
overridevirtual |
Reimplemented from Ogre::RTShader::SubRenderState.
void Ogre::RTShader::IntegratedPSSM3::setSplitPoints | ( | const SplitPointList & | newSplitPoints | ) |
Manually configure a new splitting scheme.
newSplitPoints | A 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. |
|
inline |
|
overridevirtual |
generic set method for parameters that connot be derived in preAddToRenderState
Reimplemented from Ogre::RTShader::SubRenderState.
|
static |