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

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

#include <OgreShaderExNormalMapLighting.h>

+ Inheritance diagram for Ogre::RTShader::NormalMapLightingFactory:

Public Member Functions

virtual SubRenderState * createInstance (ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
 
virtual const String & getType () const
 
virtual void writeInstance (MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
 
- Public Member Functions inherited from Ogre::RTShader::SubRenderStateFactory
 SubRenderStateFactory ()
 
virtual ~SubRenderStateFactory ()
 
virtual SubRenderState * createInstance ()
 Create an instance of the SubRenderState sub class it suppose to create.
 
virtual SubRenderState * createInstance (ScriptCompiler *compiler, PropertyAbstractNode *prop, TextureUnitState *texState, SGScriptTranslator *translator)
 Create an instance of the SubRenderState based on script properties.
 
virtual SubRenderState * createOrRetrieveInstance (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 NormalMapLighting instances.

Remarks
Sub class of SubRenderStateFactory

Member Function Documentation

◆ getType()

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

◆ createInstance()

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

◆ writeInstance()

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

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