![]() |
OGRE 13.2
Object-Oriented Graphics Rendering Engine
|
Fog sub render state implementation of the Fixed Function Pipeline. More...
#include <OgreShaderFFPFog.h>
Public Types | |
enum | CalcMode { CM_PER_VERTEX = 1 , CM_PER_PIXEL = 2 } |
Public Member Functions | |
FFPFog () | |
Class default constructor. More... | |
virtual void | copyFrom (const SubRenderState &rhs) |
CalcMode | getCalcMode () const |
Return the current calculation mode. More... | |
virtual int | getExecutionOrder () const |
virtual const String & | getType () const |
virtual bool | preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass) |
void | setCalcMode (CalcMode calcMode) |
Set the fog calculation mode. More... | |
bool | setParameter (const String &name, const String &value) override |
generic set method for parameters that connot be derived in preAddToRenderState 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 |
Fog sub render state implementation of the Fixed Function Pipeline.
Ogre::RTShader::FFPFog::FFPFog | ( | ) |
Class default constructor.
|
virtual |
Implements Ogre::RTShader::SubRenderState.
|
virtual |
Implements Ogre::RTShader::SubRenderState.
|
virtual |
Implements Ogre::RTShader::SubRenderState.
|
virtual |
Reimplemented from Ogre::RTShader::SubRenderState.
|
inline |
Set the fog calculation mode.
Either per vertex or per pixel.
calcMode | The calculation mode to set. |
|
overridevirtual |
generic set method for parameters that connot be derived in preAddToRenderState
Reimplemented from Ogre::RTShader::SubRenderState.
|
inline |
Return the current calculation mode.
|
static |