Describes details for the discard-resource operation.
typedef struct D3D12_DISCARD_RESOURCE_DESC {
UINT NumRects;
D3D12_RECT *pRects;
UINT FirstSubresource;
UINT NumSubresources;
} D3D12_DISCARD_RESOURCE_DESC;
NumRects
The number of rectangles in the array that the pRects member specifies.
pRects
An array of D3D12_RECT structures for the rectangles in the resource to discard. If NULL, the entire resource is discarded.
FirstSubresource
Index of the first subresource in the resource to discard.
NumSubresources
The number of subresources in the resource to discard.
Header: Declared in d3d12_x.h.