csharp
public readonly record struct DisplayModeOne video mode a display can be switched to.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (3)
public Int2 SizeThe mode's resolution in physical pixels.
public float RefreshRateRefresh rate in hertz. Fractional, because 59.94 Hz is real.
public bool IsHdrWhether this mode carries a wide-gamut, high-dynamic-range signal.
Methods (2)
public DisplayMode(Int2 Size, float RefreshRate, bool IsHdr)One video mode a display can be switched to.
public override string ToString()Returns the fully qualified type name of this instance.
Used by (3)
- DesktopDisplaysVixen.Platform.Desktop
- DisplayInfoVixen.Platform
- WindowReachabilityTestsVixen.Platform.Ui.Tests