D3D11DDIARG_BUFFER_UNORDEREDACCESSVIEW structure (d3d10umddi.h)
The D3D11DDIARG_BUFFER_UNORDEREDACCESSVIEW structure describes a buffer that is used to create an unordered access view (UAV) in a call to the CreateUnorderedAccessView function.
Syntax
typedef struct D3D11DDIARG_BUFFER_UNORDEREDACCESSVIEW {
[in] UINT FirstElement;
[in] UINT NumElements;
[in] UINT Flags;
} D3D11DDIARG_BUFFER_UNORDEREDACCESSVIEW;
Members
[in] FirstElement
The offset, in bytes, to the first element in the buffer.
[in] NumElements
The number of elements in the buffer.
[in] Flags
A valid bitwise OR of flag values that describe the buffer. The Direct3D runtime supports the following values.
Value | Meaning |
---|---|
D3D11_DDI_BUFFER_UAV_FLAG_RAW (0x00000001) | The buffer is in raw format. |
D3D11_DDI_BUFFER_UAV_FLAG_APPEND (0x00000002) | Associate a counter with the UAV that has append semantics. The count reflects how many items are stored. However, the order in which the items are stored can change. |
D3D11_DDI_BUFFER_UAV_FLAG_COUNTER (0x00000004) | Associate a counter with the UAV whose semantics prevent the reordering of the contents of the UAV. Therefore, applications can depend on the storage order. For example, applications can create linked lists by using count values to reference stored items. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | D3D11DDIARG_BUFFER_UNORDEREDACCESSVIEW is supported beginning with the Windows 7 operating system. |
Header | d3d10umddi.h (include D3d10umddi.h) |