Luna::Window::VideoMode

Describes one video mode of one monitor.

struct Luna::Window::VideoMode

Member objects

  • u32 width

    The width of the monitor in screen coordinates.

  • u32 height

    The height of the monitor in screen coordinates.

  • u32 red_bits

    The bit depth of the red channel of the video mode.

  • u32 green_bits

    The bit depth of the green channel of the video mode.

  • u32 blue_bits

    The bit depth of the blue channel of the video mode.

  • u32 refresh_rate

    The refresh rate, in Hz, of the video mode.