Describes the elements in a buffer to use in a unordered-access view.
typedef struct D3D11_BUFFER_UAV {
UINT FirstElement;
UINT NumElements;
UINT Flags;
} D3D11_BUFFER_UAV;
FirstElement
The zero-based index of the first element to be accessed.
NumElements
The number of elements in the resource. For structured buffers, this is the number of structures in the buffer.
Flags
View options for the resource (see D3D11_BUFFER_UAV_FLAG).
This structure is used by a D3D11_UNORDERED_ACCESS_VIEW_DESC.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).