Table of Contents

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

layout ResourceLayout

The ResourceLayout describing the number and kind of resources used.

boundResources BindableResource[]

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

BindableResource[]

Layout

The ResourceLayout describing the number and kind of resources used.

public ResourceLayout Layout

Field Value

ResourceLayout

Methods

Equals(ResourceSetDescription)

Element-wise equality.

public bool Equals(ResourceSetDescription other)

Parameters

other ResourceSetDescription

The 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.