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

#include <OgreScriptTranslator.h>

+ Inheritance diagram for Ogre::GpuProgramTranslator:

Public Member Functions

 GpuProgramTranslator ()
 
void translate (ScriptCompiler *compiler, const AbstractNodePtr &node) override
 This function translates the given node into Ogre resource(s). More...
 

Static Public Member Functions

static void translateProgramParameters (ScriptCompiler *compiler, GpuProgramParametersSharedPtr params, ObjectAbstractNode *obj)
 

Constructor & Destructor Documentation

◆ GpuProgramTranslator()

Ogre::GpuProgramTranslator::GpuProgramTranslator ( )

Member Function Documentation

◆ translate()

void Ogre::GpuProgramTranslator::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.

◆ translateProgramParameters()

static void Ogre::GpuProgramTranslator::translateProgramParameters ( ScriptCompiler compiler,
GpuProgramParametersSharedPtr  params,
ObjectAbstractNode obj 
)
static

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