Struct ResourceSetDescription
- Namespace
- NeoVeldrid
- Assembly
- NeoVeldrid.dll
Describes a ResourceSet, for creation using a ResourceFactory.
public struct ResourceSetDescription : IEquatable<ResourceSetDescription>
- Implements
- Inherited Members
Constructors
ResourceSetDescription(ResourceLayout, params BindableResource[])
Constructs a new ResourceSetDescription.
public ResourceSetDescription(ResourceLayout layout, params BindableResource[] boundResources)
Parameters
layoutResourceLayoutThe ResourceLayout describing the number and kind of resources used.
boundResourcesBindableResource[]An array of BindableResource objects. The number and type of resources must match those specified in the ResourceLayout.
Fields
BoundResources
An array of BindableResource objects. The number and type of resources must match those specified in the ResourceLayout.
public BindableResource[] BoundResources
Field Value
Layout
The ResourceLayout describing the number and kind of resources used.
public ResourceLayout Layout
Field Value
Methods
Equals(ResourceSetDescription)
Element-wise equality.
public bool Equals(ResourceSetDescription other)
Parameters
otherResourceSetDescriptionThe instance to compare to.
Returns
- bool
True if all elements and 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.