OGRE  13.2
Object-Oriented Graphics Rendering Engine
Ogre::RTShader::FFPLighting Class Reference

Lighting sub render state implementation of the Fixed Function Pipeline. More...

#include <OgreShaderFFPLighting.h>

+ Inheritance diagram for Ogre::RTShader::FFPLighting:

Public Member Functions

 FFPLighting ()
 Class default constructor. More...
 
virtual void copyFrom (const SubRenderState &rhs)
 
virtual int getExecutionOrder () const
 
bool getSpecularEnable () const
 Get the specular component state. More...
 
virtual const StringgetType () const
 
virtual bool preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass)
 
void setNormaliseEnabled (bool enable)
 normalise the blinn-phong reflection model to make it energy conserving More...
 
bool setParameter (const String &name, const String &value) override
 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)
 
- Public Member Functions inherited from Ogre::RTShader::SubRenderState
 SubRenderState ()
 Class default constructor. More...
 
virtual ~SubRenderState ()
 Class destructor. 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...
 
SubRenderStateoperator= (const SubRenderState &rhs)
 Operator = declaration. More...
 

Static Public Attributes

static String Type
 

Detailed Description

Lighting sub render state implementation of the Fixed Function Pipeline.

See also
http://msdn.microsoft.com/en-us/library/bb147178.aspx Derives from SubRenderState class.

Constructor & Destructor Documentation

◆ FFPLighting()

Ogre::RTShader::FFPLighting::FFPLighting ( )

Class default constructor.

Member Function Documentation

◆ getType()

virtual const String& Ogre::RTShader::FFPLighting::getType ( ) const
virtual

◆ getExecutionOrder()

virtual int Ogre::RTShader::FFPLighting::getExecutionOrder ( ) const
virtual

◆ updateGpuProgramsParams()

virtual void Ogre::RTShader::FFPLighting::updateGpuProgramsParams ( Renderable rend,
const Pass pass,
const AutoParamDataSource source,
const LightList pLightList 
)
virtual

◆ copyFrom()

virtual void Ogre::RTShader::FFPLighting::copyFrom ( const SubRenderState rhs)
virtual

◆ preAddToRenderState()

virtual bool Ogre::RTShader::FFPLighting::preAddToRenderState ( const RenderState renderState,
Pass srcPass,
Pass dstPass 
)
virtual

◆ setNormaliseEnabled()

void Ogre::RTShader::FFPLighting::setNormaliseEnabled ( bool  enable)
inline

normalise the blinn-phong reflection model to make it energy conserving

see this for details

◆ setParameter()

bool Ogre::RTShader::FFPLighting::setParameter ( const String name,
const String value 
)
overridevirtual

generic set method for parameters that connot be derived in preAddToRenderState

Reimplemented from Ogre::RTShader::SubRenderState.

◆ getSpecularEnable()

bool Ogre::RTShader::FFPLighting::getSpecularEnable ( ) const
inline

Get the specular component state.

Member Data Documentation

◆ Type

String Ogre::RTShader::FFPLighting::Type
static

The documentation for this class was generated from the following file: