D3D12_BUFFER_SRV_FLAGS enumeration (d3d12.h)

Identifies how to view a buffer resource.

Syntax

typedef enum D3D12_BUFFER_SRV_FLAGS {
  D3D12_BUFFER_SRV_FLAG_NONE = 0,
  D3D12_BUFFER_SRV_FLAG_RAW = 0x1
} ;

Constants

 
D3D12_BUFFER_SRV_FLAG_NONE
Value: 0
Indicates a default view.
D3D12_BUFFER_SRV_FLAG_RAW
Value: 0x1
View the buffer as raw. For more info about raw viewing of buffers, see Raw Views of Buffers.

Remarks

This enumeration is used by D3D12_BUFFER_SRV.

Requirements

Requirement Value
Header d3d12.h

See also

Core Enumerations