Table of Contents

Class Display<TDriver>

Namespace
Sdl3Sharp.Video.Windowing
Assembly
Sdl3Sharp.dll

Represents a display connected to the system

public sealed class Display<TDriver> : Display, ISpanFormattable, IFormattable where TDriver : IWindowingDriver

Type Parameters

TDriver

The windowing driver associated with this display

Inheritance
Display<TDriver>
Implements
Inherited Members

Remarks

The Id of a display is unique, remains unchanged while the display is connected to the system, and is never reused for the lifetime of the application. If a display is disconnected and then reconnected, it will get assigned a new Id.

For the most part Display<TDriver>s are not thread-safe, and most of their properties and methods should only be accessed from the main thread!

Display<TDriver>s are concrete display types, associated with a specific windowing driver.

If you want to use them in a more general way, you can use them as Display instances, which serve as common abstractions.