D3D12_UNORDERED_ACCESS_VIEW_DESC structure

Describes the subresources from a resource that are accessible by using an unordered-access view.

Syntax

typedef struct D3D12_UNORDERED_ACCESS_VIEW_DESC {
  DXGI_FORMAT         Format;
  D3D12_UAV_DIMENSION ViewDimension;
  union {
    D3D12_BUFFER_UAV      Buffer;
    D3D12_TEX1D_UAV       Texture1D;
    D3D12_TEX1D_ARRAY_UAV Texture1DArray;
    D3D12_TEX2D_UAV       Texture2D;
    D3D12_TEX2D_ARRAY_UAV Texture2DArray;
    D3D12_TEX3D_UAV       Texture3D;
  };
} D3D12_UNORDERED_ACCESS_VIEW_DESC;

Members

Format

A DXGI_FORMAT-typed value that specifies the viewing format.

ViewDimension

A D3D12_UAV_DIMENSION-typed value that specifies the resource type of the view. This type specifies how the resource will be accessed. This member also determines which _UAV to use in the union below.

__unnamed_union_0727_5

__unnamed_union_0727_5.Buffer

__unnamed_union_0727_5.Texture1D

__unnamed_union_0727_5.Texture1DArray

__unnamed_union_0727_5.Texture2D

__unnamed_union_0727_5.Texture2DArray

__unnamed_union_0727_5.Texture3D

Remarks

Pass an unordered-access-view description into ID3D12Device::CreateUnorderedAccessView to create a view.

Requirements

   
Header d3d12.h

See Also

Core Structures