D3D12_TEX3D_RTV structure (d3d12.h)

Describes the subresources from a 3D texture to use in a render-target view.

Syntax

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

Members

MipSlice

The index of the mipmap level to use mip slice.

FirstWSlice

First depth level to use.

WSize

Number of depth levels to use in the render-target view, starting from FirstWSlice. A value of -1 indicates all of the slices along the w axis, starting from FirstWSlice.

Remarks

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

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures