Struct ResourceLayoutElementDescription
Describes an individual resource element in a Resource
Implements
System.IEquatable <ResourceLayoutElementDescription >
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 ResourceLayoutElementDescription : IEquatable<ResourceLayoutElementDescription>
Constructors
ResourceLayoutElementDescription(String, ResourceKind, ShaderStages)
Constructs a new ResourceLayoutElementDescription.
Declaration
public ResourceLayoutElementDescription(string name, ResourceKind kind, ShaderStages stages)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the element. |
Resource |
kind | The kind of resource. |
Shader |
stages | The Shader |
ResourceLayoutElementDescription(String, ResourceKind, ShaderStages, ResourceLayoutElementOptions)
Constructs a new ResourceLayoutElementDescription.
Declaration
public ResourceLayoutElementDescription(string name, ResourceKind kind, ShaderStages stages, ResourceLayoutElementOptions options)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the element. |
Resource |
kind | The kind of resource. |
Shader |
stages | The Shader |
Resource |
options | Miscellaneous resource options for this element. |
Fields
Kind
The kind of resource.
Declaration
public ResourceKind Kind
Field Value
Type | Description |
---|---|
Resource |
Name
The name of the element.
Declaration
public string Name
Field Value
Type | Description |
---|---|
System. |
Options
Miscellaneous resource options for this element.
Declaration
public ResourceLayoutElementOptions Options
Field Value
Type | Description |
---|---|
Resource |
Stages
The Shader
Declaration
public ShaderStages Stages
Field Value
Type | Description |
---|---|
Shader |
Methods
Equals(ResourceLayoutElementDescription)
Element-wise equality.
Declaration
public bool Equals(ResourceLayoutElementDescription other)
Parameters
Type | Name | Description |
---|---|---|
Resource |
other | The instance to compare to. |
Returns
Type | Description |
---|---|
System. |
True if all elements are equal; false otherswise. |
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
A 32-bit signed integer that is the hash code for this instance. |
Overrides
System.ValueType.GetHashCode()
Implements
System.IEquatable<T>