Gorgon
Show / Hide Table of Contents

Class GorgonReadWriteViewBindings

A list of GorgonReadWriteViewBinding values.

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

A GorgonReadWriteViewBinding is used to bind a GorgonReadWriteViewto the GPU pipeline so that it may be used for rendering from a shader.

When binding an unordered access view from a pixel shader it is important to note that they occupy the same slots as render targets. Thus, if the user sets an unordered access view at slot 0, and there is a render target already bound at that slot, then the target will be unbound and the unordered access view will replace it. Conversely, if the user binds a render target at slot 0 and there is already an unordered access view there, then it will be unbound. It is the responsibility of the developer to ensure there are no clashes in slot management.

Constructors

| Edit this page View Source

GorgonReadWriteViewBindings()

Initializes a new instance of the GorgonReadWriteViewBindings class.

Declaration
public GorgonReadWriteViewBindings()

Fields

| Edit this page View Source

MaximumReadWriteViewCount

The maximum number of vertex buffers allow to be bound at the same time.

Declaration
public const int MaximumReadWriteViewCount = 64
Field Value
Type Description
int

Methods

| Edit this page View Source

OnAssignDirtyItem(int, GorgonReadWriteViewBinding)

Function called when a dirty item is found and added.

Declaration
protected override void OnAssignDirtyItem(int dirtyIndex, GorgonReadWriteViewBinding value)
Parameters
Type Name Description
int dirtyIndex

The index that is considered dirty.

GorgonReadWriteViewBinding value

The dirty value.

Overrides
GorgonArray<GorgonReadWriteViewBinding>.OnAssignDirtyItem(int, GorgonReadWriteViewBinding)
| Edit this page View Source

OnClear()

Function called when the array is cleared.

Declaration
protected override void OnClear()
Overrides
GorgonArray<GorgonReadWriteViewBinding>.OnClear()
| Edit this page View Source

OnValidate()

Function to validate an item being assigned to a slot.

Declaration
protected override void OnValidate()
Overrides
GorgonArray<GorgonReadWriteViewBinding>.OnValidate()

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