![]() |
OGRE-Next 3.0.0
Object-Oriented Graphics Rendering Engine
|
#include <OgreScriptTranslator.h>
Public Member Functions | |
SharedParamsTranslator () | |
template<class T , BaseConstantType baseType> | |
T | parseParameter (const String ¶m) |
void | translate (ScriptCompiler *compiler, const AbstractNodePtr &node) override |
This function translates the given node into Ogre resource(s). | |
template<class T , BaseConstantType baseType> | |
void | translateSharedParamNamed (ScriptCompiler *compiler, GpuSharedParameters *sharedParams, PropertyAbstractNode *prop, String pName, GpuConstantType constType) |
Ogre::SharedParamsTranslator::SharedParamsTranslator | ( | ) |
T Ogre::SharedParamsTranslator::parseParameter | ( | const String & | param | ) |
|
overridevirtual |
This function translates the given node into Ogre resource(s).
compiler | The compiler invoking this translator |
node | The current AST node to be translated |
Implements Ogre::ScriptTranslator.
void Ogre::SharedParamsTranslator::translateSharedParamNamed | ( | ScriptCompiler * | compiler, |
GpuSharedParameters * | sharedParams, | ||
PropertyAbstractNode * | prop, | ||
String | pName, | ||
GpuConstantType | constType | ||
) |