Struct Monitor::VideoMode#

Nested Relationships#

This struct is a nested type of Class Monitor.

Struct Documentation#

struct VideoMode#

Struct representing a video mode used by TRAP::Monitors.

Remark

Headless mode: This struct is not available in headless mode.

Public Functions

constexpr VideoMode(u32 width, u32 height, f64 refreshRate) noexcept#

Constructor.

Parameters:
  • width – Width.

  • height – Height.

  • refreshRate – Refresh rate.

constexpr auto operator<=>(const VideoMode &mode) const noexcept = default#

Public Members

u32 Width = 0#
u32 Height = 0#
f64 RefreshRate = 0#