Vixen
02b45cc4
csharp
public readonly record struct DisplayMode

One 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 Size

    The mode's resolution in physical pixels.

  • public float RefreshRate

    Refresh rate in hertz. Fractional, because 59.94 Hz is real.

  • public bool IsHdr

    Whether 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