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

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

Protected Properties

Property Type Description
_pass Axiom.Graphics.Pass

Public Methods

Method Description
PassTranslator ( ) : System
Translate ( ScriptCompiler compiler, AbstractNode node ) : void

Protected Methods

Method Description
_translateFragmentProgramRef ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node ) : void
_translateGeometryProgramRef ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node ) : void
_translateShadowCasterVertexProgramRef ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node ) : void
_translateShadowReceiverFragmentProgramRef ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node ) : void
_translateShadowReceiverVertexProgramRef ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node ) : void
_translateVertexProgramRef ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node ) : void

Private Methods

Method Description
CheckFor ( Keywords nodeId, Keywords parentId ) : bool
_commonProgramChecks ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node, string &createdProgramName ) : Pass

Method Details

PassTranslator() public method

public PassTranslator ( ) : System
return System

Translate() public method

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

_translateFragmentProgramRef() protected method

protected _translateFragmentProgramRef ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node ) : void
compiler ScriptCompiler
node Axiom.Scripting.Compiler.AST.ObjectAbstractNode
return void

_translateGeometryProgramRef() protected method

protected _translateGeometryProgramRef ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node ) : void
compiler ScriptCompiler
node Axiom.Scripting.Compiler.AST.ObjectAbstractNode
return void

_translateShadowCasterVertexProgramRef() protected method

protected _translateShadowCasterVertexProgramRef ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node ) : void
compiler ScriptCompiler
node Axiom.Scripting.Compiler.AST.ObjectAbstractNode
return void

_translateShadowReceiverFragmentProgramRef() protected method

protected _translateShadowReceiverFragmentProgramRef ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node ) : void
compiler ScriptCompiler
node Axiom.Scripting.Compiler.AST.ObjectAbstractNode
return void

_translateShadowReceiverVertexProgramRef() protected method

protected _translateShadowReceiverVertexProgramRef ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node ) : void
compiler ScriptCompiler
node Axiom.Scripting.Compiler.AST.ObjectAbstractNode
return void

_translateVertexProgramRef() protected method

protected _translateVertexProgramRef ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node ) : void
compiler ScriptCompiler
node Axiom.Scripting.Compiler.AST.ObjectAbstractNode
return void

Property Details

_pass protected property

protected Pass,Axiom.Graphics _pass
return Axiom.Graphics.Pass