C# Class Spark.Emit.D3D11.D3D11Stage

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

Public Methods

Method Description
EmitImplBind ( ) : void
EmitImplSetup ( ) : void
EmitInterface ( ) : void
GetSizeInfo ( MidType type ) : SizeInfo

Protected Methods

Method Description
EmitExp ( MidExp midExp, IEmitBlock block, EmitEnv env ) : IEmitVal
EmitShaderBind ( EmitContextHLSL hlslContext, string profile, string stageName, string prefix ) : void
EmitShaderSetup ( EmitContextHLSL hlslContext, string profile, string stageName, string prefix ) : void
FindAttribute ( MidElementDecl element, string name ) : MidAttributeWrapperDecl
GetAttribute ( MidElementDecl element, string name ) : MidAttributeWrapperDecl
GetElement ( string name ) : MidElementDecl
GetNullPointer ( string typeName ) : IEmitVal
GetSizeOf ( MidType type ) : UInt32
GetSizeOfImpl ( MidType type ) : UInt32

Private Methods

Method Description
EmitShaderBinds ( IEmitBlock block, string prefix, EmitContextHLSL hlslContext ) : void
GetSizeInfoImpl ( MidBuiltinType type ) : SizeInfo
GetSizeInfoImpl ( MidStructRef type ) : SizeInfo

Method Details

EmitExp() protected method

protected EmitExp ( MidExp midExp, IEmitBlock block, EmitEnv env ) : IEmitVal
midExp MidExp
block IEmitBlock
env EmitEnv
return IEmitVal

EmitImplBind() public abstract method

public abstract EmitImplBind ( ) : void
return void

EmitImplSetup() public abstract method

public abstract EmitImplSetup ( ) : void
return void

EmitInterface() public method

public EmitInterface ( ) : void
return void

EmitShaderBind() protected method

protected EmitShaderBind ( EmitContextHLSL hlslContext, string profile, string stageName, string prefix ) : void
hlslContext Spark.Emit.HLSL.EmitContextHLSL
profile string
stageName string
prefix string
return void

EmitShaderSetup() protected method

protected EmitShaderSetup ( EmitContextHLSL hlslContext, string profile, string stageName, string prefix ) : void
hlslContext Spark.Emit.HLSL.EmitContextHLSL
profile string
stageName string
prefix string
return void

FindAttribute() protected method

protected FindAttribute ( MidElementDecl element, string name ) : MidAttributeWrapperDecl
element Spark.Mid.MidElementDecl
name string
return Spark.Mid.MidAttributeWrapperDecl

GetAttribute() protected method

protected GetAttribute ( MidElementDecl element, string name ) : MidAttributeWrapperDecl
element Spark.Mid.MidElementDecl
name string
return Spark.Mid.MidAttributeWrapperDecl

GetElement() protected method

protected GetElement ( string name ) : MidElementDecl
name string
return Spark.Mid.MidElementDecl

GetNullPointer() protected method

protected GetNullPointer ( string typeName ) : IEmitVal
typeName string
return IEmitVal

GetSizeInfo() public method

public GetSizeInfo ( MidType type ) : SizeInfo
type MidType
return SizeInfo

GetSizeOf() protected method

protected GetSizeOf ( MidType type ) : UInt32
type MidType
return System.UInt32

GetSizeOfImpl() protected method

protected GetSizeOfImpl ( MidType type ) : UInt32
type MidType
return System.UInt32