ID3D11Fence interface (d3d11_3.h)

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

This interface is equivalent to the Direct3D 12 ID3D12Fence interface, and is also used for synchronization between Direct3D 11 and Direct3D 12 in interop scenarios.

Inheritance

The ID3D11Fence interface inherits from ID3D11DeviceChild. ID3D11Fence also has these types of members:

Methods

The ID3D11Fence interface has these methods.

 
ID3D11Fence::CreateSharedHandle

Creates a shared handle to a fence object.
ID3D11Fence::GetCompletedValue

Gets the current value of the fence. (ID3D11Fence.GetCompletedValue)
ID3D11Fence::SetEventOnCompletion

Specifies an event that should be fired when the fence reaches a certain value. (ID3D11Fence.SetEventOnCompletion)

Requirements

Requirement Value
Target Platform Windows
Header d3d11_3.h

See also

Core Interfaces

Fence Based Resource Management (Direct3D 12)

ID3D11DeviceChild

Multi-engine synchronization