Enum ResourceKind
- Namespace
- NeoVeldrid
- Assembly
- NeoVeldrid.dll
The kind of a BindableResource object.
public enum ResourceKind : byte
Fields
Sampler = 5A Sampler.
StructuredBufferReadOnly = 1A DeviceBuffer accessed as a read-only storage buffer. A subset of a buffer can be bound using a DeviceBufferRange.
StructuredBufferReadWrite = 2A DeviceBuffer accessed as a read-write storage buffer. A subset of a buffer can be bound using a DeviceBufferRange.
TextureReadOnly = 3A 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 = 4A 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 = 0A DeviceBuffer accessed as a uniform buffer. A subset of a buffer can be bound using a DeviceBufferRange.