Class GorgonSamplerStates
A list of texture sampler states to apply to the pipeline.
Implements
Inherited Members
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public sealed class GorgonSamplerStates : GorgonArray<GorgonSamplerState>, IList<GorgonSamplerState>, ICollection<GorgonSamplerState>, IGorgonReadOnlyArray<GorgonSamplerState>, IReadOnlyList<GorgonSamplerState>, IReadOnlyCollection<GorgonSamplerState>, IEnumerable<GorgonSamplerState>, IEnumerable, IEquatable<IReadOnlyList<GorgonSamplerState>>
Constructors
| Edit this page View SourceGorgonSamplerStates(IReadOnlyList<GorgonSamplerState>)
Initializes a new instance of the GorgonSamplerStates class.
Declaration
public GorgonSamplerStates(IReadOnlyList<GorgonSamplerState> states = null)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyList<GorgonSamplerState> | states | [Optional] The list of sampler states to copy into this list. |
Fields
| Edit this page View SourceMaximumSamplerStateCount
The maximum number of allowed sampler states that can be bound at the same time.
Declaration
public const int MaximumSamplerStateCount = 16
Field Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceOnAssignDirtyItem(int, GorgonSamplerState)
Function called when a dirty item is found and added.
Declaration
protected override void OnAssignDirtyItem(int dirtyIndex, GorgonSamplerState value)
Parameters
Type | Name | Description |
---|---|---|
int | dirtyIndex | The index that is considered dirty. |
GorgonSamplerState | value | The dirty value. |
Overrides
| Edit this page View SourceOnClear()
Function called when the array is cleared.
Declaration
protected override void OnClear()