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

Per pixel Lighting extension sub render state implementation. More...

#include <OgreShaderExPerPixelLighting.h>

+ Inheritance diagram for Ogre::RTShader::PerPixelLighting:

Public Member Functions

virtual const StringgetType () const
 
bool setParameter (const String &name, const String &value) override
 generic set method for parameters that connot be derived in preAddToRenderState More...
 
- Public Member Functions inherited from Ogre::RTShader::FFPLighting
 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 void copyFrom (const SubRenderState &rhs)=0
 Copy details from a given sub render state to this one. 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...
 
virtual int getExecutionOrder () const =0
 Get the execution order of this sub render state. More...
 
virtual const StringgetType () const =0
 Get the type of this sub render state. More...
 
SubRenderStateoperator= (const SubRenderState &rhs)
 Operator = declaration. More...
 
virtual bool preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass)
 Called before adding this sub render state to the given render state. More...
 
virtual bool setParameter (const String &name, const String &value)
 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)
 Update GPU programs parameters before a rendering operation occurs. More...
 

Static Public Attributes

static String Type
 
- Static Public Attributes inherited from Ogre::RTShader::FFPLighting
static String Type
 

Detailed Description

Per pixel Lighting extension sub render state implementation.

Derives from SubRenderState class.

Member Function Documentation

◆ getType()

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

◆ setParameter()

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

generic set method for parameters that connot be derived in preAddToRenderState

Reimplemented from Ogre::RTShader::SubRenderState.

Member Data Documentation

◆ Type

String Ogre::RTShader::PerPixelLighting::Type
static

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