C# Class Spark.Emit.CPlusPlus.EmitBlockCPP

Inheritance: IEmitBlock
Mostra file Open project: spark-shading-language/spark Class Usage Examples

Private Properties

Property Type Description
GenSym string

Public Methods

Method Description
AppendComment ( Span span ) : void
AppendComment ( string comment ) : void
Array ( IEmitType elementType, IEmitVal elements ) : IEmitVal
BuiltinApp ( IEmitType type, string template, IEmitVal args ) : IEmitVal
CallCOM ( IEmitVal obj, string interfaceName, string methodName ) : void
CastRawPointer ( IEmitVal val, IEmitType type ) : IEmitVal
EmitBlockCPP ( EmitMethodCPP method, Span span ) : System
GetArrow ( IEmitVal obj, IEmitField field ) : IEmitVal
GetBuiltinField ( IEmitVal obj, string fieldName, IEmitType fieldType ) : IEmitVal
InsertBlock ( ) : IEmitBlock
LiteralData ( byte data ) : IEmitVal
LiteralString ( string val ) : IEmitVal
Local ( string name, IEmitType type ) : IEmitVal
SetArrow ( IEmitVal obj, IEmitField field, IEmitVal val ) : void
StoreRaw ( IEmitVal basePointer, UInt32 offset, IEmitVal val ) : void
Struct ( string structTypeName ) : IEmitVal
Temp ( string name, IEmitVal val ) : IEmitVal

Private Methods

Method Description
GenSym ( string name ) : string

Method Details

AppendComment() public method

public AppendComment ( Span span ) : void
span Span
return void

AppendComment() public method

public AppendComment ( string comment ) : void
comment string
return void

Array() public method

public Array ( IEmitType elementType, IEmitVal elements ) : IEmitVal
elementType IEmitType
elements IEmitVal
return IEmitVal

BuiltinApp() public method

public BuiltinApp ( IEmitType type, string template, IEmitVal args ) : IEmitVal
type IEmitType
template string
args IEmitVal
return IEmitVal

CallCOM() public method

public CallCOM ( IEmitVal obj, string interfaceName, string methodName ) : void
obj IEmitVal
interfaceName string
methodName string
return void

CastRawPointer() public method

public CastRawPointer ( IEmitVal val, IEmitType type ) : IEmitVal
val IEmitVal
type IEmitType
return IEmitVal

EmitBlockCPP() public method

public EmitBlockCPP ( EmitMethodCPP method, Span span ) : System
method EmitMethodCPP
span Span
return System

GetArrow() public method

public GetArrow ( IEmitVal obj, IEmitField field ) : IEmitVal
obj IEmitVal
field IEmitField
return IEmitVal

GetBuiltinField() public method

public GetBuiltinField ( IEmitVal obj, string fieldName, IEmitType fieldType ) : IEmitVal
obj IEmitVal
fieldName string
fieldType IEmitType
return IEmitVal

InsertBlock() public method

public InsertBlock ( ) : IEmitBlock
return IEmitBlock

LiteralData() public method

public LiteralData ( byte data ) : IEmitVal
data byte
return IEmitVal

LiteralString() public method

public LiteralString ( string val ) : IEmitVal
val string
return IEmitVal

Local() public method

public Local ( string name, IEmitType type ) : IEmitVal
name string
type IEmitType
return IEmitVal

SetArrow() public method

public SetArrow ( IEmitVal obj, IEmitField field, IEmitVal val ) : void
obj IEmitVal
field IEmitField
val IEmitVal
return void

StoreRaw() public method

public StoreRaw ( IEmitVal basePointer, UInt32 offset, IEmitVal val ) : void
basePointer IEmitVal
offset System.UInt32
val IEmitVal
return void

Struct() public method

public Struct ( string structTypeName ) : IEmitVal
structTypeName string
return IEmitVal

Temp() public method

public Temp ( string name, IEmitVal val ) : IEmitVal
name string
val IEmitVal
return IEmitVal