> ## 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.

# ID3D12Fence1

> 表示一个围栏。此接口扩展了 ID3D12Fence，并支持检索用于创建原始围栏的标志。

表示一个围栏。此接口扩展了 [ID3D12Fence](/reference/graphics/d3d12/interfaces/id3d12fence/id3d12fence_public)，并支持检索用于创建原始围栏的标志。此新功能主要用于打开共享围栏。
<div class="alert">**注意**  **ID3D12Fence1** 是在 Windows 10 Fall Creators Update 中引入的，是 [ID3D12Fence](/reference/graphics/d3d12/interfaces/id3d12fence/id3d12fence_public) 接口的最新版本。以 Windows 10 Fall Creators Update 及更高版本为目标的应用程序应使用 **ID3D12Fence1** 而不是早期版本。</div><div> </div>

## 要求

**头文件：** 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)

[ID3D12fence](/reference/graphics/d3d12/interfaces/id3d12fence/id3d12fence_public)

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


## Related topics

- [GetCreationFlags](/zh-CN/reference/graphics/d3d12/interfaces/id3d12fence1/methods/id3d12fence1_getcreationflags_public.md)
- [D3D12_FEATURE](/zh-CN/reference/graphics/d3d12/enums/d3d12_feature_public.md)
- [ID3D12Object](/zh-CN/reference/graphics/d3d12/interfaces/id3d12object/id3d12object_public.md)
- [D3D12_BLEND](/zh-CN/reference/graphics/d3d12/enums/d3d12_blend_public.md)
- [D3D12_FILTER](/zh-CN/reference/graphics/d3d12/enums/d3d12_filter_public.md)
