> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ID3D12Fence

> 表示一个围栏，一个用于同步 CPU 和一个或多个 GPU 的对象。(ID3D12Fence)

表示一个围栏，一个用于同步 CPU 和一个或多个 GPU 的对象。

## 要求

**头文件：** d3d12\_xs.h 或 d3d12\_x.h\
**库：** d3d12\_xs.lib 或 d3d12\_x.lib\
**支持的平台**：XBOX Series 主机和 XBOX One 系列

## 另请参阅

[核心接口](https://learn.microsoft.com/en-us/windows/win32/direct3d12/direct3d-12-interfaces)

[基于围栏的资源管理](https://learn.microsoft.com/en-us/windows/win32/direct3d12/fence-based-resource-management)

[ID3D12Pageable](/reference/graphics/d3d12/interfaces/id3d12pageable/id3d12pageable_public)

[多引擎同步](https://learn.microsoft.com/en-us/windows/win32/direct3d12/user-mode-heap-synchronization)
