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

> Represents a fence, an object used for synchronization of the CPU and one or more GPUs. (ID3D12Fence)

Represents a fence, an object used for synchronization of the CPU and one or more GPUs.

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[Core Interfaces](https://learn.microsoft.com/en-us/windows/win32/direct3d12/direct3d-12-interfaces)

[Fence Based Resource Management](https://learn.microsoft.com/en-us/windows/win32/direct3d12/fence-based-resource-management)

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

[Multi-engine synchronization](https://learn.microsoft.com/en-us/windows/win32/direct3d12/user-mode-heap-synchronization)


## Related topics

- [ID3D12Fence::Signal](/reference/graphics/d3d12/interfaces/id3d12fence/methods/id3d12fence_signal_public.md)
- [ID3D12Fence1](/reference/graphics/d3d12/interfaces/id3d12fence1/id3d12fence1_public.md)
- [CreateFence](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createfence_public.md)
- [ID3D12CommandQueue::Signal](/reference/graphics/d3d12/interfaces/id3d12commandqueue/methods/id3d12commandqueue_signal_public.md)
- [SetEventOnMultipleFenceCompletion](/reference/graphics/d3d12/interfaces/id3d12device1/methods/id3d12device1_seteventonmultiplefencecompletion_public.md)
