OGRE-Next  3.0.0
Object-Oriented Graphics Rendering Engine
Ogre::SharedParamsTranslator Class Referencefinal

#include <OgreScriptTranslator.h>

+ Inheritance diagram for Ogre::SharedParamsTranslator:

Public Member Functions

 SharedParamsTranslator ()
 
template<class T , BaseConstantType baseType>
parseParameter (const String &param)
 
void translate (ScriptCompiler *compiler, const AbstractNodePtr &node) override
 This function translates the given node into Ogre resource(s). More...
 
template<class T , BaseConstantType baseType>
void translateSharedParamNamed (ScriptCompiler *compiler, GpuSharedParameters *sharedParams, PropertyAbstractNode *prop, String pName, GpuConstantType constType)
 

Constructor & Destructor Documentation

◆ SharedParamsTranslator()

Ogre::SharedParamsTranslator::SharedParamsTranslator ( )

Member Function Documentation

◆ parseParameter()

template<class T , BaseConstantType baseType>
T Ogre::SharedParamsTranslator::parseParameter ( const String param)

◆ translate()

void Ogre::SharedParamsTranslator::translate ( ScriptCompiler compiler,
const AbstractNodePtr node 
)
overridevirtual

This function translates the given node into Ogre resource(s).

Parameters
compilerThe compiler invoking this translator
nodeThe current AST node to be translated

Implements Ogre::ScriptTranslator.

◆ translateSharedParamNamed()

template<class T , BaseConstantType baseType>
void Ogre::SharedParamsTranslator::translateSharedParamNamed ( ScriptCompiler compiler,
GpuSharedParameters sharedParams,
PropertyAbstractNode prop,
String  pName,
GpuConstantType  constType 
)

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