D3D12_TEX2D_RTV structure (d3d12.h)
Describes the subresource from a 2D texture to use in a render-target view.
typedef struct D3D12_TEX2D_RTV {
UINT MipSlice;
UINT PlaneSlice;
} D3D12_TEX2D_RTV;
MipSlice
The index of the mipmap level to use.
PlaneSlice
The index (plane slice number) of the plane to use in the texture.
Use this structure with a D3D12_RENDER_TARGET_VIEW_DESC structure to view the resource as a 2D texture.
Requirement | Value |
---|---|
Header | d3d12.h |