Bewerken

Delen via


D3D12DDIARG_EVICT structure (d3d12umddi.h)

Arguments used in the PFND3D12DDI_EVICT2 callback function to instruct the OS to decrement the residency reference count.

Syntax

typedef struct D3D12DDIARG_EVICT {
  UINT                           NumObjects;
  const D3D12DDI_HANDLE_AND_TYPE *pObjects;
#if ...
  D3DDDI_EVICT_FLAGS             Flags;
#else
  union {
    struct {
      UINT EvictOnlyIfNecessary : 1;
    };
    UINT Value;
  } Flags;
#endif
} D3D12DDIARG_EVICT;

Members

NumObjects

The number of objects to evict.

pObjects

Pointer to an array of objects.

Flags

Flags.

Flags.EvictOnlyIfNecessary

Flags.Value

Requirements

Requirement Value
Header d3d12umddi.h