Struct ResourceLayoutDescription
Describes the layout of BindableResource objects for a Pipeline.
Implements
System.IEquatable<ResourceLayoutDescription>
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 ResourceLayoutDescription : IEquatable<ResourceLayoutDescription>
Constructors
ResourceLayoutDescription(ResourceLayoutElementDescription[])
Constructs a new ResourceLayoutDescription.
Declaration
public ResourceLayoutDescription(params ResourceLayoutElementDescription[] elements)
Parameters
Type | Name | Description |
---|---|---|
ResourceLayoutElementDescription[] | elements | 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.
Declaration
public ResourceLayoutElementDescription[] Elements
Field Value
Type | Description |
---|---|
ResourceLayoutElementDescription[] |
Methods
Equals(ResourceLayoutDescription)
Element-wise equality.
Declaration
public bool Equals(ResourceLayoutDescription other)
Parameters
Type | Name | Description |
---|---|---|
ResourceLayoutDescription | other | The instance to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | True if 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>