D3D12_BUFFER_UAV_FLAGS enumeration (d3d12.h)

Identifies unordered-access view options for a buffer resource.

Syntax

typedef enum D3D12_BUFFER_UAV_FLAGS {
  D3D12_BUFFER_UAV_FLAG_NONE = 0,
  D3D12_BUFFER_UAV_FLAG_RAW = 0x1
} ;

Constants

 
D3D12_BUFFER_UAV_FLAG_NONE
Value: 0
Indicates a default view.
D3D12_BUFFER_UAV_FLAG_RAW
Value: 0x1
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.

Remarks

This enum is used in the D3D12_BUFFER_UAV structure.

Requirements

Requirement Value
Header d3d12.h

See also

Core Enumerations