D3D12_TEX2D_UAV structure (d3d12.h)

Describes a unordered-access 2D texture resource.

Syntax

typedef struct D3D12_TEX2D_UAV {
  UINT MipSlice;
  UINT PlaneSlice;
} D3D12_TEX2D_UAV;

Members

MipSlice

The mipmap slice index.

PlaneSlice

The index (plane slice number) of the plane to use in the texture.

Remarks

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

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures