Gorgon
Show / Hide Table of Contents

Class GorgonSamplerStates

A list of texture sampler states to apply to the pipeline.

Inheritance
object
GorgonArray<GorgonSamplerState>
GorgonSamplerStates
Implements
IList<GorgonSamplerState>
ICollection<GorgonSamplerState>
IGorgonReadOnlyArray<GorgonSamplerState>
IReadOnlyList<GorgonSamplerState>
IReadOnlyCollection<GorgonSamplerState>
IEnumerable<GorgonSamplerState>
IEnumerable
IEquatable<IReadOnlyList<GorgonSamplerState>>
Inherited Members
GorgonArray<GorgonSamplerState>.Length
GorgonArray<GorgonSamplerState>.IsDirty
GorgonArray<GorgonSamplerState>.this[int]
GorgonArray<GorgonSamplerState>.AsSpan(int, int)
GorgonArray<GorgonSamplerState>.AsSpan()
GorgonArray<GorgonSamplerState>.AsMemory(int, int)
GorgonArray<GorgonSamplerState>.AsMemory()
GorgonArray<GorgonSamplerState>.GetDirtyItems(bool)
GorgonArray<GorgonSamplerState>.MarkDirty(Range)
GorgonArray<GorgonSamplerState>.ResetAt(int)
GorgonArray<GorgonSamplerState>.IndexOf(GorgonSamplerState)
GorgonArray<GorgonSamplerState>.Contains(GorgonSamplerState)
GorgonArray<GorgonSamplerState>.CopyDirty(GorgonArray<GorgonSamplerState>)
GorgonArray<GorgonSamplerState>.CopyTo(GorgonSamplerState[], int)
GorgonArray<GorgonSamplerState>.CopyTo(GorgonArray<GorgonSamplerState>, int)
GorgonArray<GorgonSamplerState>.Clear()
GorgonArray<GorgonSamplerState>.GetEnumerator()
GorgonArray<GorgonSamplerState>.Equals(IReadOnlyList<GorgonSamplerState>)
GorgonArray<GorgonSamplerState>.DirtyEquals(IGorgonReadOnlyArray<GorgonSamplerState>, int)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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 Source

GorgonSamplerStates(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 Source

MaximumSamplerStateCount

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 Source

OnAssignDirtyItem(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
GorgonArray<GorgonSamplerState>.OnAssignDirtyItem(int, GorgonSamplerState)
| Edit this page View Source

OnClear()

Function called when the array is cleared.

Declaration
protected override void OnClear()
Overrides
GorgonArray<GorgonSamplerState>.OnClear()

Implements

IList<T>
ICollection<T>
IGorgonReadOnlyArray<T>
IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IEnumerable
IEquatable<T>

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonTreeLinqExtensions.TraverseDepthFirst<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
GorgonTreeLinqExtensions.Traverse<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
GorgonIReadOnlyListExtensions.Contains<T>(IReadOnlyList<T>, T)
GorgonIReadOnlyListExtensions.CopyTo<T>(IReadOnlyList<T>, T[])
GorgonIReadOnlyListExtensions.FirstIndexOf<T>(IReadOnlyList<T>, Predicate<T>)
GorgonIReadOnlyListExtensions.IndexOf<T>(IReadOnlyList<T>, T)
GorgonIReadOnlyListExtensions.LastIndexOf<T>(IReadOnlyList<T>, Predicate<T>)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author