Table of Contents

Enum ResourceKind

Namespace
NeoVeldrid
Assembly
NeoVeldrid.dll

The kind of a BindableResource object.

public enum ResourceKind : byte

Fields

Sampler = 5

A Sampler.

StructuredBufferReadOnly = 1

A DeviceBuffer accessed as a read-only storage buffer. A subset of a buffer can be bound using a DeviceBufferRange.

StructuredBufferReadWrite = 2

A DeviceBuffer accessed as a read-write storage buffer. A subset of a buffer can be bound using a DeviceBufferRange.

TextureReadOnly = 3

A read-only Texture, accessed through a Texture or TextureView. Binding a Texture to a resource slot expecting a TextureReadWrite is equivalent to binding a TextureView that covers the full mip and array layer range, with the original Texture's PixelFormat.

TextureReadWrite = 4

A read-write Texture, accessed through a Texture or TextureView.

Binding a Texture to a resource slot expecting a TextureReadWrite is equivalent to binding a TextureView that covers the full mip and array layer range, with the original Texture's PixelFormat.

UniformBuffer = 0

A DeviceBuffer accessed as a uniform buffer. A subset of a buffer can be bound using a DeviceBufferRange.