Show / Hide Table of Contents

Enum ResourceKind

The kind of a BindableResource object.

Namespace: Veldrid
Assembly: cs.temp.dll.dll
Syntax
public enum ResourceKind : byte

Fields

Name Description
Sampler

A Sampler.

StructuredBufferReadOnly

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

StructuredBufferReadWrite

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

TextureReadOnly

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

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

UniformBuffer

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

Back to top