struct ByteAddressBuffer¶
Conditionally conforms to: __IDynamicResourceCastable<__DynamicResourceKind.General>, IPhysicalBuffer
Description¶
Represents an opaque handle to a read-only buffer allocated in global memory that is indexed in bytes. ByteAddressBuffer 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.Read¶
kind : DescriptorKind = DescriptorKind.StorageBuffer¶
Methods¶
Conditional Conformances¶
Conformance to __IDynamicResourceCastable<__DynamicResourceKind.General>¶
ByteAddressBuffer additionally conforms to __IDynamicResourceCastable<__DynamicResourceKind.General>.
Conformance to IPhysicalBuffer¶
ByteAddressBuffer additionally conforms to IPhysicalBuffer.
Remarks¶
This type is supported natively when targeting HLSL. For all other targets, this type maps to a buffer of 32bit unsigned integers.