OGRE 1.12.10
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::RTShader::FFPLightingFactory Class Reference

A factory that enables creation of FFPLighting instances. More...

#include <OgreShaderFFPLighting.h>

Inheritance diagram for Ogre::RTShader::FFPLightingFactory:

Public Member Functions

virtual SubRenderStatecreateInstance (ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
virtual const StringgetType () const
virtual void writeInstance (MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
Public Member Functions inherited from Ogre::RTShader::SubRenderStateFactory
 SubRenderStateFactory ()
virtual ~SubRenderStateFactory ()
virtual SubRenderStatecreateInstance ()
 Create an instance of the SubRenderState sub class it suppose to create.
virtual SubRenderStatecreateInstance (ScriptCompiler *compiler, PropertyAbstractNode *prop, TextureUnitState *texState, SGScriptTranslator *translator)
 Create an instance of the SubRenderState based on script properties.
virtual SubRenderStatecreateOrRetrieveInstance (SGScriptTranslator *translator)
 Retrieve the previous instance the SRS in the script translator or create a new instance if not found.
virtual void destroyAllInstances ()
 Destroy all the instances that created by this factory.
virtual void destroyInstance (SubRenderState *subRenderState)
 Destroy the given instance.
virtual void writeInstance (MaterialSerializer *ser, SubRenderState *subRenderState, const TextureUnitState *srcTextureUnit, const TextureUnitState *dstTextureUnit)
 Write the given sub-render state instance using the material serializer.

Detailed Description

A factory that enables creation of FFPLighting instances.

Remarks
Sub class of SubRenderStateFactory

Member Function Documentation

◆ getType()

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

◆ createInstance()

virtual SubRenderState * Ogre::RTShader::FFPLightingFactory::createInstance ( ScriptCompiler * compiler,
PropertyAbstractNode * prop,
Pass * pass,
SGScriptTranslator * translator )
virtual

◆ writeInstance()

virtual void Ogre::RTShader::FFPLightingFactory::writeInstance ( MaterialSerializer * ser,
SubRenderState * subRenderState,
Pass * srcPass,
Pass * dstPass )
virtual

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