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 之前要同步的分页围栏,该工作引用所提供的数组中的任何资源或分配。

要求

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