Struct ResourceLayoutDescription
- Namespace
- NeoVeldrid
- Assembly
- NeoVeldrid.dll
Describes the layout of BindableResource objects for a Pipeline.
public struct ResourceLayoutDescription : IEquatable<ResourceLayoutDescription>
- Implements
- Inherited Members
Constructors
ResourceLayoutDescription(params ResourceLayoutElementDescription[])
Constructs a new ResourceLayoutDescription.
public ResourceLayoutDescription(params ResourceLayoutElementDescription[] elements)
Parameters
elementsResourceLayoutElementDescription[]An array of ResourceLayoutElementDescription objects, describing the properties of each resource element in the ResourceLayout.
Fields
Elements
An array of ResourceLayoutElementDescription objects, describing the properties of each resource element in the ResourceLayout.
public ResourceLayoutElementDescription[] Elements
Field Value
Methods
Equals(ResourceLayoutDescription)
Element-wise equality.
public bool Equals(ResourceLayoutDescription other)
Parameters
otherResourceLayoutDescriptionThe instance to compare to.
Returns
- bool
True if all array elements are equal; false otherswise.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.