ID3D11Fence interface

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 inteface, and is also used for synchronization between Direct3D 11 and Direct3D 12 in interop scenarios.


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


The ID3D11Fence interface has these methods.

Method Description
ID3D11Fence::CreateSharedHandle Creates a shared handle to a fence object.
ID3D11Fence::GetCompletedValue Gets the current value of the fence.
ID3D11Fence::SetEventOnCompletion Specifies an event that should be fired when the fence reaches a certain value.


Target Platform Windows
Header d3d11_3.h

See also

Core Interfaces

Fence Based Resource Management (Direct3D 12)


Multi-engine synchronization