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,
  D3D11_BUFFER_UAV_FLAG_APPEND,
  D3D11_BUFFER_UAV_FLAG_COUNTER
} ;

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 IncrementCounterand DecrementCounter methods in HLSL. Requires the UAV format to be DXGI_FORMAT_UNKNOWN.

Requirements

   
Header d3d11.h

See also

Core Enumerations

Resource Enumerations