Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

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

D3D11.h

See also

Resource Enumerations
Core Enumerations

 

 

Show:
© 2017 Microsoft