C# Class Stride.Shaders.ShaderMixinSource

Inheritance: Stride.Shaders.ShaderSource, IEquatable
ファイルを表示 Open project: vvvv/stride Class Usage Examples

Private Properties

Property Type Description
ShouldSerializeCompositions bool
ShouldSerializeMacros bool
ShouldSerializeMixins bool
ToSortedList TValue>.Core.Collections.SortedList

Public Methods

Method Description
AddComposition ( string name, Stride.Shaders.ShaderSource shaderSource ) : void

Adds a composition to this mixin.

AddCompositionToArray ( string name, Stride.Shaders.ShaderSource shaderSourceElement ) : int

Adds a composition to this mixin.

AddMacro ( string name, object value ) : void

Adds a macro to this mixin.

Clone ( ) : object
CloneFrom ( parent ) : void

Clones from the specified ShaderMixinSource.

DeepCloneFrom ( parent ) : void

Clones from the specified ShaderMixinSource. Clones members too.

Equals ( other ) : bool
Equals ( object against ) : bool
GetHashCode ( ) : int
ShaderMixinSource ( ) : System

Initializes a new instance of the ShaderMixinSource class.

ToString ( ) : string

Private Methods

Method Description
ShouldSerializeCompositions ( ) : bool
ShouldSerializeMacros ( ) : bool
ShouldSerializeMixins ( ) : bool
ToSortedList ( IEnumerable list ) : TValue>.Core.Collections.SortedList

Method Details

AddComposition() public method

Adds a composition to this mixin.
public AddComposition ( string name, Stride.Shaders.ShaderSource shaderSource ) : void
name string The name.
shaderSource Stride.Shaders.ShaderSource The shader source.
return void

AddCompositionToArray() public method

Adds a composition to this mixin.
public AddCompositionToArray ( string name, Stride.Shaders.ShaderSource shaderSourceElement ) : int
name string The name.
shaderSourceElement Stride.Shaders.ShaderSource The shader source element.
return int

AddMacro() public method

Adds a macro to this mixin.
public AddMacro ( string name, object value ) : void
name string The name.
value object The value.
return void

Clone() public method

public Clone ( ) : object
return object

CloneFrom() public method

Clones from the specified ShaderMixinSource.
parent
public CloneFrom ( parent ) : void
parent The parent mixin to clone from.
return void

DeepCloneFrom() public method

Clones from the specified ShaderMixinSource. Clones members too.
parent
public DeepCloneFrom ( parent ) : void
parent The parent mixin to clone from.
return void

Equals() public method

public Equals ( other ) : bool
return bool

Equals() public method

public Equals ( object against ) : bool
against object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ShaderMixinSource() public method

Initializes a new instance of the ShaderMixinSource class.
public ShaderMixinSource ( ) : System
return System

ToString() public method

public ToString ( ) : string
return string