OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
A factory that enables creation of IntegratedPSSM3 instances. More...
#include <OgreShaderExIntegratedPSSM3.h>
Public Member Functions | |
SubRenderState * | createInstance (ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator) override |
const String & | getType () const override |
Get the type of this sub render state factory. More... | |
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. More... | |
virtual SubRenderState * | createInstance (ScriptCompiler *compiler, PropertyAbstractNode *prop, TextureUnitState *texState, SGScriptTranslator *translator) |
Create an instance of the SubRenderState based on script properties. More... | |
virtual SubRenderState * | createOrRetrieveInstance (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, const TextureUnitState *srcTextureUnit, const TextureUnitState *dstTextureUnit) |
Write the given sub-render state instance using the material serializer. More... | |
virtual void | writeInstance (MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass) |
Write the given sub-render state instance using the material serializer. More... | |
A factory that enables creation of IntegratedPSSM3 instances.
|
inlineoverridevirtual |
Get the type of this sub render state factory.
The type string should be the same as the type of the SubRenderState sub class it is going to create.
Implements Ogre::RTShader::SubRenderStateFactory.
References Ogre::RTShader::SRS_INTEGRATED_PSSM3.
|
overridevirtual |
Reimplemented from Ogre::RTShader::SubRenderStateFactory.