D3D11_BUFFER_UAV_FLAG enumeration
Identifies unordered-access view options for a buffer resource.
Syntax
typedef enum D3D11_BUFFER_UAV_FLAG { D3D11_BUFFER_UAV_FLAG_RAW = 0x1, D3D11_BUFFER_UAV_FLAG_APPEND = 0x2, D3D11_BUFFER_UAV_FLAG_COUNTER = 0x4 } D3D11_BUFFER_UAV_FLAG;
Constants
- D3D11_BUFFER_UAV_FLAG_RAW
-
Resource contains raw, unstructured data. Requires the UAV format to be DXGI_FORMAT_R32_TYPELESS. For more info about raw viewing of buffers, see Raw Views of Buffers.
- D3D11_BUFFER_UAV_FLAG_APPEND
-
Allow data to be appended to the end of the buffer. D3D11_BUFFER_UAV_FLAG_APPEND flag must also be used for any view that will be used as a AppendStructuredBuffer or a ConsumeStructuredBuffer. Requires the UAV format to be DXGI_FORMAT_UNKNOWN.
- D3D11_BUFFER_UAV_FLAG_COUNTER
-
Adds a counter to the unordered-access-view buffer. D3D11_BUFFER_UAV_FLAG_COUNTER can only be used on a UAV that is a RWStructuredBuffer and it enables the functionality needed for the IncrementCounter and DecrementCounter methods in HLSL. Requires the UAV format to be DXGI_FORMAT_UNKNOWN.
Requirements
|
Header |
|
|---|
See also