OGRE  13.6
Object-Oriented Graphics Rendering Engine
Ogre::RTShader::LayeredBlendingFactory Class Reference

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

#include <OgreShaderExLayeredBlending.h>

+ Inheritance diagram for Ogre::RTShader::LayeredBlendingFactory:

Public Member Functions

SubRenderStatecreateInstance (ScriptCompiler *compiler, PropertyAbstractNode *prop, TextureUnitState *texState, SGScriptTranslator *translator) override
const StringgetType () const override
void writeInstance (MaterialSerializer *ser, SubRenderState *subRenderState, const TextureUnitState *srcTextureUnit, const TextureUnitState *dstTextureUnit) override
- 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. More...
virtual SubRenderStatecreateInstance (ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
 Create an instance of the SubRenderState based on script properties. More...
virtual SubRenderStatecreateOrRetrieveInstance (SGScriptTranslator *translator)
 Retrieve the previous instance the SRS in the script translator or create a new instance if not found. More...
virtual void destroyAllInstances ()
 Destroy all the instances that created by this factory. More...
virtual void destroyInstance (SubRenderState *subRenderState)
 Destroy the given instance. More...
virtual void writeInstance (MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
 Write the given sub-render state instance using the material serializer. More...

Detailed Description

A factory that enables creation of LayeredBlending instances.

Sub class of SubRenderStateFactory

Member Function Documentation

◆ getType()

const String& Ogre::RTShader::LayeredBlendingFactory::getType ( ) const

◆ createInstance()

SubRenderState* Ogre::RTShader::LayeredBlendingFactory::createInstance ( ScriptCompiler compiler,
PropertyAbstractNode prop,
TextureUnitState texState,
SGScriptTranslator translator 

◆ writeInstance()

void Ogre::RTShader::LayeredBlendingFactory::writeInstance ( MaterialSerializer ser,
SubRenderState subRenderState,
const TextureUnitState srcTextureUnit,
const TextureUnitState dstTextureUnit 

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