D3DDDICB_RECLAIMALLOCATIONS2结构 (d3dumddi.h)

D3DDDICB_RECLAIMALLOCATIONS2pfnReclaimAllocations2Cb 一起使用,用于描述要回收的驱动程序以前提供以供重复使用的视频内存资源。

语法

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;

成员

[in] PagingQueue

由用户模式驱动程序提供的分页队列,用于在分配列表中进行分页。

[in] NumAllocations

pDiscarded 中的项数,pResourcesHandleList 中的项数为非 NULL。

[in] pResources

Direct3D 运行时资源句柄的数组。

[in] HandleList

分配句柄数组。 如果非 NULL,pResources 必须为 NULL。

[out] pDiscarded

指定是放弃每个资源还是分配的布尔值的可选数组。

[out] PagingFenceValue

将工作提交到 GPU 之前要同步的分页围栏,该 GPU 引用所提供的数组中的任何资源或分配

要求

要求 价值
最低支持的客户端 Windows 10
支持的最低服务器 Windows Server 2016
标头 d3dumddi.h (包括 D3dumddi.h)