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.

Members

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

Methods

The ID3D11Fence interface has these methods.

MethodDescription
CreateSharedHandle

Creates a shared handle to a fence object.

GetCompletedValue

Gets the current value of the fence.

SetEventOnCompletion

Specifies an event that should be fired when the fence reaches a certain value.

 

Requirements

Header

D3D11_3.h

Library

D3D11.lib

DLL

D3D11.dll

See also

ID3D11DeviceChild
Core Interfaces
Fence Based Resource Management (Direct3D 12)
Synchronization and Multi-Engine (Direct3D 12)

 

 

Show: