D3DDDIARG_DISCARD - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

typedef struct _D3DDDIARG_DISCARD {
  HANDLE     hResource;
  UINT       FirstSubResource;
  UINT       NumSubResources;
  const RECT *pRects;
  UINT       NumRects;
} D3DDDIARG_DISCARD;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dumddi-_d3dddiarg_discard)

_D3DDDIARG_DISCARD structure

Description

Defines video display memory that can be discarded because the contents are no longer needed.

Members

hResource

A handle to the resource in which subresources are to be discarded.

FirstSubResource

The index of the first subresource to be discarded.

NumSubResources

The number of subresources to be discarded.

pRects

An array of RECT structures for the rectangles in the resource view to discard. If NULL, the Discard function discards the entire surface.

NumRects

The number of rectangles in the array that the pRects member specifies.

See also

Discard

RECT