C# Class Spark.Emit.HLSL.ConnectorTypeHLSL

Inheritance: SimpleTypeHLSL, IAggTypeHLSL
Datei anzeigen Open project: spark-shading-language/spark Class Usage Examples

Public Methods

Method Description
AddField ( string name, ITypeHLSL type ) : void
ConnectorTypeHLSL ( string name, MidElementDecl element ) : System
GetFieldCount ( ) : int
GetFieldIndex ( string name ) : int
GetFieldName ( int ii ) : string
GetFieldType ( int ii ) : ITypeHLSL

Method Details

AddField() public method

public AddField ( string name, ITypeHLSL type ) : void
name string
type ITypeHLSL
return void

ConnectorTypeHLSL() public method

public ConnectorTypeHLSL ( string name, MidElementDecl element ) : System
name string
element Spark.Mid.MidElementDecl
return System

GetFieldCount() public method

public GetFieldCount ( ) : int
return int

GetFieldIndex() public method

public GetFieldIndex ( string name ) : int
name string
return int

GetFieldName() public method

public GetFieldName ( int ii ) : string
ii int
return string

GetFieldType() public method

public GetFieldType ( int ii ) : ITypeHLSL
ii int
return ITypeHLSL