![]() |
OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Per pixel Lighting extension sub render state implementation. More...
#include <OgreShaderExPerPixelLighting.h>
Public Member Functions | |
PerPixelLighting () | |
Class default constructor. More... | |
virtual void | copyFrom (const SubRenderState &rhs) |
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 |
virtual const String & | getType () const |
virtual bool | preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass) |
virtual void | updateGpuProgramsParams (Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList) |
Static Public Attributes | |
static String | Type |
Per pixel Lighting extension sub render state implementation.
Derives from SubRenderState class.
Ogre::RTShader::PerPixelLighting::PerPixelLighting | ( | ) |
Class default constructor.
|
virtual |
Implements Ogre::RTShader::SubRenderState.
Reimplemented in Ogre::RTShader::NormalMapLighting.
|
virtual |
Implements Ogre::RTShader::SubRenderState.
|
virtual |
Reimplemented from Ogre::RTShader::SubRenderState.
Reimplemented in Ogre::RTShader::NormalMapLighting.
|
virtual |
Implements Ogre::RTShader::SubRenderState.
Reimplemented in Ogre::RTShader::NormalMapLighting.
|
virtual |
Reimplemented from Ogre::RTShader::SubRenderState.
Reimplemented in Ogre::RTShader::NormalMapLighting.
|
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.
programSet | container class of CPU and GPU programs that this sub state will affect on. |
Reimplemented in Ogre::RTShader::FFPTransform.
|
inherited |
Return the accessor object to this sub render state.
|
inherited |
Return the accessor object to this sub render state.
|
static |