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
kind : DescriptorKind = DescriptorKind.Buffer
Methods
- GetDimensions
- Load2
- Load2Aligned
- Load3
- Load3Aligned
- Load4
- Load4Aligned
- Load
- LoadAligned
- init
- GetBufferPointer
- LoadByteOffset
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.