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.
◆ StageFlags
Enumerator |
---|
SF_VS_INPUT_DIFFUSE | |
SF_VS_INPUT_SPECULAR | |
SF_VS_OUTPUT_DIFFUSE | |
SF_VS_OUTPUT_SPECULAR | |
SF_PS_INPUT_DIFFUSE | |
SF_PS_INPUT_SPECULAR | |
SF_PS_OUTPUT_DIFFUSE | |
SF_PS_OUTPUT_SPECULAR | |
◆ FFPColour()
Ogre::RTShader::FFPColour::FFPColour |
( |
| ) |
|
Class default constructor.
◆ getType()
virtual const String& Ogre::RTShader::FFPColour::getType |
( |
| ) |
const |
|
virtual |
◆ getExecutionOrder()
virtual int Ogre::RTShader::FFPColour::getExecutionOrder |
( |
| ) |
const |
|
virtual |
◆ copyFrom()
virtual void Ogre::RTShader::FFPColour::copyFrom |
( |
const SubRenderState & |
rhs | ) |
|
|
virtual |
◆ preAddToRenderState()
virtual bool Ogre::RTShader::FFPColour::preAddToRenderState |
( |
const RenderState * |
renderState, |
|
|
Pass * |
srcPass, |
|
|
Pass * |
dstPass |
|
) |
| |
|
virtual |
◆ setResolveStageFlags()
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 | SF_PS_OUTPUT_DIFFUSE.
- Parameters
-
flags | The stage flag to set. |
◆ getResolveStageFlags()
unsigned int Ogre::RTShader::FFPColour::getResolveStageFlags |
( |
| ) |
const |
|
inline |
Get the current resolve stage flags.
◆ addResolveStageMask()
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. |
◆ removeResolveStageMask()
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. |
◆ 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
-
programSet | container class of CPU and GPU programs that this sub state will affect on. |
Reimplemented in Ogre::RTShader::FFPTransform.
◆ updateGpuProgramsParams()
◆ getAccessor() [1/2]
◆ getAccessor() [2/2]
◆ Type
String Ogre::RTShader::FFPColour::Type |
|
static |
The documentation for this class was generated from the following file: