27#ifndef _ShaderScriptTranslator_
28#define _ShaderScriptTranslator_
61 using ScriptTranslator::getBoolean;
66 using ScriptTranslator::getString;
71 using ScriptTranslator::getReal;
76 using ScriptTranslator::getFloat;
81 using ScriptTranslator::getInt;
86 using ScriptTranslator::getUInt;
91 using ScriptTranslator::getColour;
131 const String& dstTechniqueSchemeName,
const String& materialName,
132 const String& groupName,
unsigned short passIndex);
This is a container class for sub render state class.
This class responsible for translating core features of the RT Shader System for Ogre material script...
This class is the base interface of sub part from a shader based rendering pipeline.
This is the main class for the compiler.
This class translates script AST (abstract syntax tree) into Ogre resources.
Reference-counted shared pointer, used for objects where implicit destruction is required.
virtual void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
RenderState * mGeneratedRenderState
void translatePass(ScriptCompiler *compiler, const AbstractNodePtr &node)
Translates RT Shader System section within a pass context.
virtual SubRenderState * getGeneratedSubRenderState(const String &typeName)
Returns a sub render state of a given name which has already been created for material currently bein...
void translateTextureUnit(ScriptCompiler *compiler, const AbstractNodePtr &node)
Translates RT Shader System section within a texture_unit context.
void addSubRenderState(SubRenderState *newSubRenderState, const String &dstTechniqueSchemeName, const String &materialName, const String &groupName, unsigned short passIndex)
Adds a newly created subrender state to the material being translated.