ShaderArraySource Class
Namespace: Stride.Shaders
Assembly: Stride.Shaders.dll
An array of ShaderSource used only in shader mixin compositions.
Derived from ShaderArraySource:
[DataContract("ShaderArraySource")]
public sealed class ShaderArraySource : ShaderSource, IEnumerable<ShaderSource>, IEnumerable, IEquatable<ShaderArraySource>
|
Improve this Doc
View Source
Constructors
ShaderArraySource()
public ShaderArraySource()
|
Improve this Doc
View Source
Properties
Values
public ShaderSourceCollection Values { get; set; }
Property Value
|
Improve this Doc
View Source
Methods
Add(ShaderSource)
Adds the specified composition.
public void Add(ShaderSource composition)
Parameters
Type |
Name |
Description |
ShaderSource |
composition |
The composition.
|
Clone()
public override object Clone()
Returns
Type |
Description |
System.Object |
|
Overrides
Equals(ShaderArraySource)
public bool Equals(ShaderArraySource other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
GetEnumerator()
public IEnumerator<ShaderSource> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<ShaderSource> |
|
GetHashCode()
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
ToString()
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
Operators
Equality(ShaderArraySource, ShaderArraySource)
public static bool operator ==(ShaderArraySource left, ShaderArraySource right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(ShaderArraySource, ShaderArraySource)
public static bool operator !=(ShaderArraySource left, ShaderArraySource right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Extension Methods