![]() |
OGRE 1.12.10
Object-Oriented Graphics Rendering Engine
|
Colour sub render state implementation of the Fixed Function Pipeline. More...
#include <OgreShaderFFPColour.h>
Public Types | |
enum | StageFlags { SF_VS_INPUT_DIFFUSE = 1 << 1 , SF_VS_OUTPUT_DIFFUSE = 1 << 2 , SF_VS_OUTPUT_SPECULAR = 1 << 3 , SF_PS_INPUT_DIFFUSE = 1 << 4 , SF_PS_INPUT_SPECULAR = 1 << 5 } |
Public Member Functions | |
FFPColour () | |
Class default constructor. | |
void | addResolveStageMask (unsigned int mask) |
Add the given mask to resolve stage flags that this sub render state will produce. | |
virtual void | copyFrom (const SubRenderState &rhs) |
virtual int | getExecutionOrder () const |
unsigned int | getResolveStageFlags () const |
Get the current resolve stage flags. | |
virtual const String & | getType () const |
virtual bool | preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass) |
void | removeResolveStageMask (unsigned int mask) |
Remove the given mask from the resolve stage flags that this sub render state will produce. | |
void | setResolveStageFlags (unsigned int flags) |
Set the resolve stage flags that this sub render state will produce. | |
![]() | |
SubRenderState () | |
Class default constructor. | |
virtual | ~SubRenderState () |
Class destructor. | |
virtual bool | createCpuSubPrograms (ProgramSet *programSet) |
Create sub programs that represents this sub render state as part of a program set. | |
SubRenderStateAccessorPtr | getAccessor () |
Return the accessor object to this sub render state. | |
SubRenderStateAccessorPtr | getAccessor () const |
Return the accessor object to this sub render state. | |
SubRenderState & | operator= (const SubRenderState &rhs) |
Operator = declaration. | |
virtual bool | setParameter (const String &name, const String &value) |
generic set method for parameters that connot be derived in preAddToRenderState | |
virtual void | updateGpuProgramsParams (Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList) |
Update GPU programs parameters before a rendering operation occurs. | |
Static Public Attributes | |
static String | Type |
Colour sub render state implementation of the Fixed Function Pipeline.
Derives from SubRenderState class.
Ogre::RTShader::FFPColour::FFPColour | ( | ) |
Class default constructor.
Implements Ogre::RTShader::SubRenderState.
Implements Ogre::RTShader::SubRenderState.
|
virtual |
Implements Ogre::RTShader::SubRenderState.
|
virtual |
Reimplemented from Ogre::RTShader::SubRenderState.
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.
flags | The stage flag to set. |
Get the current resolve stage flags.
Add the given mask to resolve stage flags that this sub render state will produce.
mask | The mask to add to current flag set. |
Remove the given mask from the resolve stage flags that this sub render state will produce.
mask | The mask to remove from current flag set. |
|
static |