D3D11_UAV_DIMENSION Enumeration

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
} D3D11_UAV_DIMENSION;  

Constants

Constant Description
D3D11_UAV_DIMENSION_UNKNOWN The view type is unknown.
D3D11_UAV_DIMENSION_BUFFER View the resource as a buffer.
D3D11_UAV_DIMENSION_TEXTURE1D View the resource as a 1D texture.
D3D11_UAV_DIMENSION_TEXTURE1DARRAY View the resource as a 1D texture array.
D3D11_UAV_DIMENSION_TEXTURE2D View the resource as a 2D texture.
D3D11_UAV_DIMENSION_TEXTURE2DARRAY View the resource as a 2D texture array.
D3D11_UAV_DIMENSION_TEXTURE3D 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: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).