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