Skip to main content
Gets the current value of the fence.

Syntax

Parameters

Return value

Type: UINT64 Returns the current value of the fence. If the device has been removed, the return value will be UINT64_MAX.

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

ID3D12Fence Multi-engine synchronization
Last modified on August 20, 2026