D3DDDIARG_TRIMRESIDENCYSET structure (d3dumddi.h)

D3DDDIARG_TRIMRESIDENCYSET is used with pfnTrimResidencySet by a user mode driver to trim the residency list for a given device.

Syntax

typedef struct D3DDDIARG_TRIMRESIDENCYSET {
  D3DDDI_TRIMRESIDENCYSET_FLAGS TrimFlags;
  UINT64                        NumBytesToTrim;
} D3DDDIARG_TRIMRESIDENCYSET;

Members

TrimFlags

The trimming behavior flags.

NumBytesToTrim

When TrimToBudget is set, this value specifies how much the application should evict in order to meet its current memory budget.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3dumddi.h (include D3dumddi.h)

See also

pfnTrimResidencySet