C# Class Spark.Emit.EmitExtensions

Exibir arquivo Open project: spark-shading-language/spark

Public Methods

Method Description
Array ( this block, IEmitType elementType, IEnumerable elements ) : IEmitVal
CastRawPointer ( this block, IEmitVal val ) : IEmitVal
Enum32 ( this block, Enum val ) : IEmitVal
Enum32 ( this block, string type, string name, Enum val ) : IEmitVal
Enum32 ( this block, string type, string name, UInt32 val ) : IEmitVal
GetBuiltinType ( this target, string template ) : IEmitType
LiteralBool ( this block, bool val ) : IEmitVal
LiteralF32 ( this block, float val ) : IEmitVal
LiteralS32 ( this block, Int32 val ) : IEmitVal
LiteralU32 ( this block, UInt32 val ) : IEmitVal
Null ( this type ) : IEmitVal
Pointer ( this type ) : IEmitType

Method Details

Array() public static method

public static Array ( this block, IEmitType elementType, IEnumerable elements ) : IEmitVal
block this
elementType IEmitType
elements IEnumerable
return IEmitVal

CastRawPointer() public static method

public static CastRawPointer ( this block, IEmitVal val ) : IEmitVal
block this
val IEmitVal
return IEmitVal

Enum32() public static method

public static Enum32 ( this block, Enum val ) : IEmitVal
block this
val System.Enum
return IEmitVal

Enum32() public static method

public static Enum32 ( this block, string type, string name, Enum val ) : IEmitVal
block this
type string
name string
val System.Enum
return IEmitVal

Enum32() public static method

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

GetBuiltinType() public static method

public static GetBuiltinType ( this target, string template ) : IEmitType
target this
template string
return IEmitType

LiteralBool() public static method

public static LiteralBool ( this block, bool val ) : IEmitVal
block this
val bool
return IEmitVal

LiteralF32() public static method

public static LiteralF32 ( this block, float val ) : IEmitVal
block this
val float
return IEmitVal

LiteralS32() public static method

public static LiteralS32 ( this block, Int32 val ) : IEmitVal
block this
val System.Int32
return IEmitVal

LiteralU32() public static method

public static LiteralU32 ( this block, UInt32 val ) : IEmitVal
block this
val System.UInt32
return IEmitVal

Null() public static method

public static Null ( this type ) : IEmitVal
type this
return IEmitVal

Pointer() public static method

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