struct RasterizerOrderedStructuredBuffer<T, L>
Description
Represents an opaque handle to a mutable structured buffer allocated in global memory. A structured buffer can be viewed as an array of the specified element type.
Generic Parameters
T
The element type of the buffer.
L: IBufferDataLayout = DefaultDataLayout
The memory layout of the buffer.
Methods
- DecrementCounter
- GetDimensions
- IncrementCounter
- Load
- operator[]
Remarks
The L generic parameter is used to specify the memory layout of the buffer when generating SPIRV. L must be one of DefaultDataLayout, Std140DataLayout, Std430DataLayout or ScalarDataLayout. The default value is DefaultDataLayout. When generating code for other targets, this parameter is ignored and has no effect on the generated code.
See also
StructuredBuffer, AppendStructuredBuffer, ConsumeStructuredBuffer *