ConsumeStructuredBuffer<T, L>.Consume¶
Description¶
Reading the element at the end of the buffer indicated by the associated atomic counter and decrement the builtin atomic counter by 1.
Signature¶
T ConsumeStructuredBuffer<T, L>.Consume() where L : IBufferDataLayout;
Return value¶
The element read from the buffer, it can be a structure.