C# Class Spark.Emit.CPlusPlus.EmitTargetCPP

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

Public Methods

Method Description
Array ( IEmitType type, int length ) : IEmitType
CreateModule ( string moduleName ) : IEmitModule
EmitTargetCPP ( ) : System
Enum32 ( string type, string name, UInt32 val ) : IEmitVal
GetBuiltinType ( string template, IEmitTerm args ) : IEmitType
GetNullPointer ( IEmitType type ) : IEmitVal
GetOpaqueType ( string name ) : IEmitType
LiteralBool ( bool val ) : IEmitVal
LiteralF32 ( float val ) : IEmitVal
LiteralS32 ( Int32 val ) : IEmitVal
LiteralU32 ( uint val ) : IEmitVal
Pointer ( IEmitType type ) : IEmitType
ShaderBytecodeCallback ( string prefix, byte data ) : void

Method Details

Array() public method

public Array ( IEmitType type, int length ) : IEmitType
type IEmitType
length int
return IEmitType

CreateModule() public method

public CreateModule ( string moduleName ) : IEmitModule
moduleName string
return IEmitModule

EmitTargetCPP() public method

public EmitTargetCPP ( ) : System
return System

Enum32() public method

public Enum32 ( string type, string name, UInt32 val ) : IEmitVal
type string
name string
val System.UInt32
return IEmitVal

GetBuiltinType() public method

public GetBuiltinType ( string template, IEmitTerm args ) : IEmitType
template string
args IEmitTerm
return IEmitType

GetNullPointer() public method

public GetNullPointer ( IEmitType type ) : IEmitVal
type IEmitType
return IEmitVal

GetOpaqueType() public method

public GetOpaqueType ( string name ) : IEmitType
name string
return IEmitType

LiteralBool() public method

public LiteralBool ( bool val ) : IEmitVal
val bool
return IEmitVal

LiteralF32() public method

public LiteralF32 ( float val ) : IEmitVal
val float
return IEmitVal

LiteralS32() public method

public LiteralS32 ( Int32 val ) : IEmitVal
val System.Int32
return IEmitVal

LiteralU32() public method

public LiteralU32 ( uint val ) : IEmitVal
val uint
return IEmitVal

Pointer() public method

public Pointer ( IEmitType type ) : IEmitType
type IEmitType
return IEmitType

ShaderBytecodeCallback() public method

public ShaderBytecodeCallback ( string prefix, byte data ) : void
prefix string
data byte
return void