D3D12DDICB_RECLAIMALLOCATIONS2结构 (d3dumddi.h)

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

语法

typedef struct _D3D12DDICB_RECLAIMALLOCATIONS2 {
  [in]  UINT                NumAllocations;
  [in]  const D3DKMT_HANDLE *HandleList;
  [out] BOOL                *pDiscarded;
  [out] UINT64              PagingFenceValue;
} D3D12DDICB_RECLAIMALLOCATIONS2;

成员

[in] NumAllocations

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

[in] HandleList

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

[out] pDiscarded

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

[out] PagingFenceValue

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

要求

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