Struct ResourceSetDescription
Describes a ResourceSet, for creation using a ResourceFactory.
Implements
System.IEquatable<ResourceSetDescription>
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Veldrid
Assembly: cs.temp.dll.dll
Syntax
public struct ResourceSetDescription : IEquatable<ResourceSetDescription>
Constructors
ResourceSetDescription(ResourceLayout, BindableResource[])
Constructs a new ResourceSetDescription.
Declaration
public ResourceSetDescription(ResourceLayout layout, params BindableResource[] boundResources)
Parameters
Type | Name | Description |
---|---|---|
ResourceLayout | layout | The ResourceLayout describing the number and kind of resources used. |
BindableResource[] | boundResources | 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.
Declaration
public BindableResource[] BoundResources
Field Value
Type | Description |
---|---|
BindableResource[] |
Layout
The ResourceLayout describing the number and kind of resources used.
Declaration
public ResourceLayout Layout
Field Value
Type | Description |
---|---|
ResourceLayout |
Methods
Equals(ResourceSetDescription)
Element-wise equality.
Declaration
public bool Equals(ResourceSetDescription other)
Parameters
Type | Name | Description |
---|---|---|
ResourceSetDescription | other | The instance to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | True if all elements and all array elements are equal; false otherswise. |
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A 32-bit signed integer that is the hash code for this instance. |
Overrides
System.ValueType.GetHashCode()
Implements
System.IEquatable<T>