Bewerken

Delen via


D3D12DDIARG_MAKERESIDENT_0001 structure (d3d12umddi.h)

Arguments used to instruct the OS to add a resource to the device residency list and increment the residency reference count on this allocation.

Syntax

typedef struct D3D12DDIARG_MAKERESIDENT_0001 {
  UINT                           NumAdapters;
  const D3D12DDI_HRTPAGINGQUEUE  *pRTPagingQueue;
  UINT                           NumObjects;
  const D3D12DDI_HANDLE_AND_TYPE *pObjects;
#if ...
  D3DDDI_MAKERESIDENT_FLAGS      Flags;
#else
  union {
    struct {
      UINT CantTrimFurther : 1;
    };
    UINT Value;
  } Flags;
#endif
  UINT64                         *pPagingFenceValue;
  UINT                           WaitMask;
} D3D12DDIARG_MAKERESIDENT_0001;

Members

NumAdapters

The number of adapters.

pRTPagingQueue

Paging queue on the device that created the input allocations. This queue will be used for residency operations.

NumObjects

The number of objects.

pObjects

An array of adapters to make resident.

Flags

Specifies memory residency behavior.

Flags.CantTrimFurther

Flags.Value

pPagingFenceValue

Pointer to the paging queue fence value to wait on.

WaitMask

The wait mask.

Requirements

Requirement Value
Header d3d12umddi.h