Bewerken

Delen via


D3DDDICB_RECLAIMALLOCATIONS2 structure (d3dumddi.h)

D3DDDICB_RECLAIMALLOCATIONS2 is used with pfnReclaimAllocations2Cb to describe video memory resources, previously offered for reuse by the driver, that are to be reclaimed.

Syntax

typedef struct _D3DDDICB_RECLAIMALLOCATIONS2 {
  [in]  D3DKMT_HANDLE       PagingQueue;
  [in]  UINT                NumAllocations;
  [in]  const HANDLE        *pResources;
  [in]  const D3DKMT_HANDLE *HandleList;
  [out] BOOL                *pDiscarded;
  [out] UINT64              PagingFenceValue;
} D3DDDICB_RECLAIMALLOCATIONS2;

Members

[in] PagingQueue

The paging queue, supplied by the user-mode driver, to page in the allocation list.

[in] NumAllocations

The number of items in pDiscarded and whichever of pResources or HandleList is non-NULL.

[in] pResources

An array of Direct3D runtime resource handles.

[in] HandleList

An array of allocation handles. If non-NULL, pResources must be NULL.

[out] pDiscarded

Optional array of boolean values specifying whether each resource or allocation was discarded.

[out] PagingFenceValue

The paging fence to synchronize against before submitting work to the GPU which references any of the resources or allocations in the provided arrays

Requirements

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