C# Class Axiom.Scripting.Compiler.ScriptCompiler.GpuProgramTranslator

Inheritance: Translator
Show file Open project: mono-soc-2011/axiom

Public Methods

Method Description
GpuProgramTranslator ( ) : System
Translate ( ScriptCompiler compiler, AbstractNode node ) : void
TranslateProgramParameters ( ScriptCompiler compiler, GpuProgramParameters parameters, Axiom.Scripting.Compiler.AST.ObjectAbstractNode obj ) : void

Private Methods

Method Description
CheckFor ( Keywords nodeId, Keywords parentId ) : bool
_translateIDToGpuProgramType ( uint id ) : GpuProgramType

Method Details

GpuProgramTranslator() public method

public GpuProgramTranslator ( ) : System
return System

Translate() public method

public Translate ( ScriptCompiler compiler, AbstractNode node ) : void
compiler ScriptCompiler
node Axiom.Scripting.Compiler.AST.AbstractNode
return void

TranslateProgramParameters() public static method

public static TranslateProgramParameters ( ScriptCompiler compiler, GpuProgramParameters parameters, Axiom.Scripting.Compiler.AST.ObjectAbstractNode obj ) : void
compiler ScriptCompiler
parameters Axiom.Graphics.GpuProgramParameters
obj Axiom.Scripting.Compiler.AST.ObjectAbstractNode
return void