D3D12_UAV_DIMENSION enumeration (d3d12.h)

Identifies unordered-access view options.

Syntax

typedef enum D3D12_UAV_DIMENSION {
  D3D12_UAV_DIMENSION_UNKNOWN = 0,
  D3D12_UAV_DIMENSION_BUFFER = 1,
  D3D12_UAV_DIMENSION_TEXTURE1D = 2,
  D3D12_UAV_DIMENSION_TEXTURE1DARRAY = 3,
  D3D12_UAV_DIMENSION_TEXTURE2D = 4,
  D3D12_UAV_DIMENSION_TEXTURE2DARRAY = 5,
  D3D12_UAV_DIMENSION_TEXTURE2DMS,
  D3D12_UAV_DIMENSION_TEXTURE2DMSARRAY,
  D3D12_UAV_DIMENSION_TEXTURE3D = 8
} ;

Constants

 
D3D12_UAV_DIMENSION_UNKNOWN
Value: 0
The view type is unknown.
D3D12_UAV_DIMENSION_BUFFER
Value: 1
View the resource as a buffer.
D3D12_UAV_DIMENSION_TEXTURE1D
Value: 2
View the resource as a 1D texture.
D3D12_UAV_DIMENSION_TEXTURE1DARRAY
Value: 3
View the resource as a 1D texture array.
D3D12_UAV_DIMENSION_TEXTURE2D
Value: 4
View the resource as a 2D texture.
D3D12_UAV_DIMENSION_TEXTURE2DARRAY
Value: 5
View the resource as a 2D texture array.
D3D12_UAV_DIMENSION_TEXTURE3D
Value: 8
View the resource as a 3D texture array.

Remarks

Specify one of the values in this enumeration in the ViewDimension member of a D3D12_UNORDERED_ACCESS_VIEW_DESC structure.

Requirements

Requirement Value
Header d3d12.h

See also

Core Enumerations