D3DDDI_TRIMRESIDENCYSET_FLAGS - NtDoc

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

typedef struct D3DDDI_TRIMRESIDENCYSET_FLAGS {
  union {
    struct {
      UINT PeriodicTrim : 1;
      UINT RestartPeriodicTrim : 1;
      UINT TrimToBudget : 1;
      UINT Reserved : 29;
    };
    UINT Value;
  };
} D3DDDI_TRIMRESIDENCYSET_FLAGS;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dukmdt-d3dddi_trimresidencyset_flags)

D3DDDI_TRIMRESIDENCYSET_FLAGS structure

Description

D3DDDI_TRIMRESIDENCYSET_FLAGS is used with pfnTrimResidencySet to trim the residency list for a given device.

Members

PeriodicTrim

When PeriodicTrim flag is set, the driver is required to performed the following operations:

RestartPeriodicTrim

May not be set together with PeriodicTrim flag. Reset the last periodic trim context fence to the last completed context fence.

TrimToBudget

Indicates that the application usage is over the memory budget and that NumBytesToTrim bytes should be trimmed to fit in the new memory budget.

Reserved

This member is reserved and should be set to zero.

Value

The consolidated value of the bit-fields in the structure.

See also

pfnTrimResidencySet