DisplayFence DisplayFence DisplayFence DisplayFence DisplayFence Class

Definition

Represents a fence object that can be used to synchronize rendering commands between Direct3D devices and a DisplayDevice object.

public : sealed class DisplayFence
struct winrt::Windows::Devices::Display::Core::DisplayFence
public sealed class DisplayFence
Public NotInheritable Class DisplayFence
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Remarks

A DisplayFence can be shared between Direct3D devices and a DisplayDevice using the IDisplayDeviceInterop native COM interface. The CreateSharedHandle method can create a shared NT handle for a DisplayFence created by a DisplayDevice, and the OpenSharedHandle method can be used to create a DisplayFence object from an existing Direct3D shared fence handle.