D3D11_UAV_DIMENSION enumeration (d3d11.h)

Unordered-access view options.

Syntax

typedef enum D3D11_UAV_DIMENSION {
  D3D11_UAV_DIMENSION_UNKNOWN = 0,
  D3D11_UAV_DIMENSION_BUFFER = 1,
  D3D11_UAV_DIMENSION_TEXTURE1D = 2,
  D3D11_UAV_DIMENSION_TEXTURE1DARRAY = 3,
  D3D11_UAV_DIMENSION_TEXTURE2D = 4,
  D3D11_UAV_DIMENSION_TEXTURE2DARRAY = 5,
  D3D11_UAV_DIMENSION_TEXTURE3D = 8
} ;

Constants

 
D3D11_UAV_DIMENSION_UNKNOWN
Value: 0
The view type is unknown.
D3D11_UAV_DIMENSION_BUFFER
Value: 1
View the resource as a buffer.
D3D11_UAV_DIMENSION_TEXTURE1D
Value: 2
View the resource as a 1D texture.
D3D11_UAV_DIMENSION_TEXTURE1DARRAY
Value: 3
View the resource as a 1D texture array.
D3D11_UAV_DIMENSION_TEXTURE2D
Value: 4
View the resource as a 2D texture.
D3D11_UAV_DIMENSION_TEXTURE2DARRAY
Value: 5
View the resource as a 2D texture array.
D3D11_UAV_DIMENSION_TEXTURE3D
Value: 8
View the resource as a 3D texture array.

Remarks

This enumeration is used by a unordered access-view description (see D3D11_UNORDERED_ACCESS_VIEW_DESC).

Requirements

   
Header d3d11.h

See also

Core Enumerations

Resource Enumerations