OGRE-Next: Ogre::SharedParamsTranslator Class Reference

| OGRE-Next 3.0.0 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Ogre::SharedParamsTranslator Class Referencefinal
Core » General

`#include <OgreScriptTranslator.h>`

Inheritance diagram for Ogre::SharedParamsTranslator:
[legend]

## Public Member Functions
| SharedParamsTranslator ()
template<class T, BaseConstantType baseType>
T | parseParameter (const String &param)
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)

## 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

  compiler | The compiler invoking this translator
  node | The 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:

- OgreScriptTranslator.h