Skip to main content
Specifies an event that should be fired when one or more of a collection of fences reach specific values.

Syntax

Parameters

ppFences [in]
Type: ID3D12Fence *const *
An array of length NumFences that specifies the ID3D12Fence objects. pFenceValues [in]
Type: const UINT64 *
An array of length NumFences that specifies the fence values required for the event is to be signaled. NumFences
Type: UINT
Specifies the number of fences to be included. Flags
Type: D3D12_MULTIPLE_FENCE_WAIT_FLAGS
Specifies one of the D3D12_MULTIPLE_FENCE_WAIT_FLAGS that determines how to proceed. hEvent
Type: HANDLE
A handle to the event object.

Return value

Type: HRESULT This method returns an HRESULT success or error code.

Remarks

To specify a single fence refer to the SetEventOnCompletion method. If hEvent is a null handle, then this API will not return until the specified fence value(s) have been reached.

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

ID3D12Device1
Last modified on August 20, 2026