struct RWByteAddressBuffer

Conditionally conforms to: __IDynamicResourceCastable<__DynamicResourceKind.General>, IPhysicalBuffer, IRWPhysicalBuffer

Description

Represents an opaque handle to a read-write buffer allocated in global memory that is indexed in bytes. This type can be used when working with raw buffers. Raw buffer can be viewed as a bag of bits to which you want raw access, that is, a buffer that you can conveniently access through chunks of one to four 32-bit typeless address values.

Fields

descriptorAccess : DescriptorAccess = DescriptorAccess.ReadWrite

kind : DescriptorKind = DescriptorKind.StorageBuffer

Methods

Conditional Conformances

Conformance to __IDynamicResourceCastable<__DynamicResourceKind.General>

RWByteAddressBuffer additionally conforms to __IDynamicResourceCastable<__DynamicResourceKind.General>.

Conformance to IPhysicalBuffer

RWByteAddressBuffer additionally conforms to IPhysicalBuffer.

Conformance to IRWPhysicalBuffer

RWByteAddressBuffer additionally conforms to IRWPhysicalBuffer.

Remarks

This type is supported natively when targeting HLSL.