C# Class Spark.Emit.CPlusPlus.EmitModuleCPP

Inheritance: IEmitModule
Show file Open project: spark-shading-language/spark Class Usage Examples

Public Methods

Method Description
CreateClass ( string inClassName, IEmitClass baseClass, EmitClassFlags flags ) : IEmitClass
CreateStruct ( string name ) : IEmitStruct
EmitGlobalStruct ( string name, IEmitVal members ) : IEmitVal
EmitModuleCPP ( EmitTargetCPP target, string name, Span headerSpan, Span sourceSpan ) : System
GetMethodPointer ( IEmitMethod method ) : IEmitVal
LiteralString ( string val ) : IEmitVal

Method Details

CreateClass() public method

public CreateClass ( string inClassName, IEmitClass baseClass, EmitClassFlags flags ) : IEmitClass
inClassName string
baseClass IEmitClass
flags EmitClassFlags
return IEmitClass

CreateStruct() public method

public CreateStruct ( string name ) : IEmitStruct
name string
return IEmitStruct

EmitGlobalStruct() public method

public EmitGlobalStruct ( string name, IEmitVal members ) : IEmitVal
name string
members IEmitVal
return IEmitVal

EmitModuleCPP() public method

public EmitModuleCPP ( EmitTargetCPP target, string name, Span headerSpan, Span sourceSpan ) : System
target EmitTargetCPP
name string
headerSpan Span
sourceSpan Span
return System

GetMethodPointer() public method

public GetMethodPointer ( IEmitMethod method ) : IEmitVal
method IEmitMethod
return IEmitVal

LiteralString() public method

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