// d3d10umddi.h
PFND3D11_1DDI_DISCARD Pfnd3d111DdiDiscard;
VOID Pfnd3d111DdiDiscard(
D3D10DDI_HDEVICE unnamedParam1,
D3D11DDI_HANDLETYPE HandleType,
VOID *hResourceOrView,
const D3D10_DDI_RECT *unnamedParam4,
UINT NumRects
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Discards (evicts) an allocation from video display memory. Implemented by Windows Display Driver Model (WDDM) 1.2 and later user-mode display drivers.
unnamedParam1hDevice [in]
A handle to the display device (graphics context).
HandleTypeA value, of type D3D11DDI_HANDLETYPE, that identifies the context handle type.
hResourceOrViewA pointer to a handle to the resource or to the view that is to be discarded.
unnamedParam4pRects [in, optional]
An optional array of RECT structures for the rectangles in the resource view to discard. If NULL, the Discard(D3D11_1) function discards the entire surface.
NumRectsThe number of rectangles in the array that the pRects parameter specifies.
The D3D10_DDI_RECT structure is defined as a RECT structure.
typedef RECT D3D10_DDI_RECT;