Colour sub render state implementation of the Fixed Function Pipeline.
More...
#include <OgreShaderFFPColour.h>
Colour sub render state implementation of the Fixed Function Pipeline.
Derives from SubRenderState class.
| Enumerator |
|---|
| SF_VS_INPUT_DIFFUSE |
|
| SF_VS_OUTPUT_DIFFUSE |
|
| SF_VS_OUTPUT_SPECULAR |
|
| SF_PS_INPUT_DIFFUSE |
|
| SF_PS_INPUT_SPECULAR |
|
| Ogre::RTShader::FFPColour::FFPColour |
( |
| ) |
|
Class default constructor.
| virtual const String& Ogre::RTShader::FFPColour::getType |
( |
| ) |
const |
|
virtual |
| virtual int Ogre::RTShader::FFPColour::getExecutionOrder |
( |
| ) |
const |
|
virtual |
| virtual void Ogre::RTShader::FFPColour::copyFrom |
( |
const SubRenderState & |
rhs | ) |
|
|
virtual |
| virtual bool Ogre::RTShader::FFPColour::preAddToRenderState |
( |
const RenderState * |
renderState, |
|
|
Pass * |
srcPass, |
|
|
Pass * |
dstPass |
|
) |
| |
|
virtual |
| void Ogre::RTShader::FFPColour::setResolveStageFlags |
( |
unsigned int |
flags | ) |
|
|
inline |
Set the resolve stage flags that this sub render state will produce.
I.E - If one want to specify that the vertex shader program needs to get a diffuse component and the pixel shader should output diffuse component he should pass SF_VS_INPUT_DIFFUSE.
- Parameters
-
| flags | The stage flag to set. |
| unsigned int Ogre::RTShader::FFPColour::getResolveStageFlags |
( |
| ) |
const |
|
inline |
Get the current resolve stage flags.
| void Ogre::RTShader::FFPColour::addResolveStageMask |
( |
unsigned int |
mask | ) |
|
|
inline |
Add the given mask to resolve stage flags that this sub render state will produce.
- Parameters
-
| mask | The mask to add to current flag set. |
| void Ogre::RTShader::FFPColour::removeResolveStageMask |
( |
unsigned int |
mask | ) |
|
|
inline |
Remove the given mask from the resolve stage flags that this sub render state will produce.
- Parameters
-
| mask | The mask to remove from current flag set. |
| String Ogre::RTShader::FFPColour::Type |
|
static |
The documentation for this class was generated from the following file: