Share via


DisplayDevice Class

Definition

Represents a context for creating and presenting content directly to the display driver. A DisplayDevice is analogous to a Direct3D device in the Direct3D API.

DisplayDevice objects also implement the COM interface IDisplayDeviceInterop.

public ref class DisplayDevice sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DisplayDevice final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DisplayDevice
Public NotInheritable Class DisplayDevice
Inheritance
Object Platform::Object IInspectable DisplayDevice
Attributes

Windows requirements

Requirements Description
Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Properties

Name Description
RenderAdapterId

Methods

Name Description
CreatePeriodicFence(DisplayTarget, TimeSpan)

Creates a DisplayFence object that is automatically signaled by the system with an incrementing value at a certain time every vertical refresh cycle.

CreatePrimary(DisplayTarget, DisplayPrimaryDescription)

Creates a primary surface (or just "primary") for use with the display controller. The resulting primary surface is compatible with a DisplayScanout, which is used for presenting content directly to the screen.

CreateScanoutSource(DisplayTarget)

Creates a DisplaySource object, which provides the ability to directly scan out/present to the DisplayTarget object or objects currently connected to this source.

CreateSimpleScanout(DisplaySource, DisplaySurface, UInt32, UInt32)

Creates a DisplayScanout object that can be used to present a full-screen surface directly to the screen.

CreateSimpleScanoutWithDirtyRectsAndOptions(DisplaySource, DisplaySurface, UInt32, UInt32, IIterable<RectInt32>, DisplayScanoutOptions)

Creates a DisplayScanout object that provides an immutable encapsulation of parameters required for presenting a frame to a DisplaySource.

CreateTaskPool()

Creates a DisplayTaskPool, which can create and execute DisplayTask objects on this DisplayDevice.

IsCapabilitySupported(DisplayDeviceCapability)

Retrieves a Boolean value indicating whether or not a given capability is supported by this DisplayDevice.

WaitForVBlank(DisplaySource)

Synchronously waits for the next V-blank interrupt to be fired by the primary DisplayTarget for a given DisplaySource.

Applies to