Fog sub render state implementation of the Fixed Function Pipeline.
More...
#include <OgreShaderFFPFog.h>
Fog sub render state implementation of the Fixed Function Pipeline.
- See also
- http://msdn.microsoft.com/en-us/library/bb173398.aspx Derives from SubRenderState class.
◆ CalcMode
Enumerator |
---|
CM_PER_VERTEX | |
CM_PER_PIXEL | |
◆ FFPFog()
Ogre::RTShader::FFPFog::FFPFog |
( |
| ) |
|
Class default constructor.
◆ getType()
virtual const String& Ogre::RTShader::FFPFog::getType |
( |
| ) |
const |
|
virtual |
◆ getExecutionOrder()
virtual int Ogre::RTShader::FFPFog::getExecutionOrder |
( |
| ) |
const |
|
virtual |
◆ copyFrom()
virtual void Ogre::RTShader::FFPFog::copyFrom |
( |
const SubRenderState & |
rhs | ) |
|
|
virtual |
◆ preAddToRenderState()
virtual bool Ogre::RTShader::FFPFog::preAddToRenderState |
( |
const RenderState * |
renderState, |
|
|
Pass * |
srcPass, |
|
|
Pass * |
dstPass |
|
) |
| |
|
virtual |
◆ setCalcMode()
void Ogre::RTShader::FFPFog::setCalcMode |
( |
CalcMode |
calcMode | ) |
|
|
inline |
Set the fog calculation mode.
Either per vertex or per pixel.
- Parameters
-
calcMode | The calculation mode to set. |
◆ setParameter()
bool Ogre::RTShader::FFPFog::setParameter |
( |
const String & |
name, |
|
|
const String & |
value |
|
) |
| |
|
overridevirtual |
◆ getCalcMode()
CalcMode Ogre::RTShader::FFPFog::getCalcMode |
( |
| ) |
const |
|
inline |
Return the current calculation mode.
◆ Type
String Ogre::RTShader::FFPFog::Type |
|
static |
The documentation for this class was generated from the following file: