D3D12_TEX3D_UAV structure (d3d12.h)

Describes a unordered-access 3D texture resource.

Syntax

typedef struct D3D12_TEX3D_UAV {
  UINT MipSlice;
  UINT FirstWSlice;
  UINT WSize;
} D3D12_TEX3D_UAV;

Members

MipSlice

The mipmap slice index.

FirstWSlice

The zero-based index of the first depth slice to be accessed.

WSize

The number of depth slices.

Set to -1 to indicate all the depth slices from FirstWSlice to the last slice.

Remarks

Use this structure with a D3D12_UNORDERED_ACCESS_VIEW_DESC structure to view the resource as a 3D texture.

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures