C# Class PixelMagic.ShaderData

显示文件 Open project: kumpera/PixelMagic Class Usage Examples

Public Methods

Method Description
GetConstant ( int idx ) : Mono.Simd.Vector4f
GetConstantOrZero ( int idx ) : Mono.Simd.Vector4f
GetOutputTexture ( int idx ) : Texture
GetSampler ( int idx ) : Sampler
SetConstant ( int idx, float value ) : void
SetConstant ( int idx, float v0, float v1 ) : void
SetOutputTexture ( int idx, Texture tex ) : void
SetSampler ( int idx, Sampler sampler ) : void

Private Methods

Method Description
GetConstants ( ) : Vector4f>.Dictionary

Method Details

GetConstant() public method

public GetConstant ( int idx ) : Mono.Simd.Vector4f
idx int
return Mono.Simd.Vector4f

GetConstantOrZero() public method

public GetConstantOrZero ( int idx ) : Mono.Simd.Vector4f
idx int
return Mono.Simd.Vector4f

GetOutputTexture() public method

public GetOutputTexture ( int idx ) : Texture
idx int
return Texture

GetSampler() public method

public GetSampler ( int idx ) : Sampler
idx int
return Sampler

SetConstant() public method

public SetConstant ( int idx, float value ) : void
idx int
value float
return void

SetConstant() public method

public SetConstant ( int idx, float v0, float v1 ) : void
idx int
v0 float
v1 float
return void

SetOutputTexture() public method

public SetOutputTexture ( int idx, Texture tex ) : void
idx int
tex Texture
return void

SetSampler() public method

public SetSampler ( int idx, Sampler sampler ) : void
idx int
sampler Sampler
return void