1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---@meta
---A video mode available to a monitor.
---@class (exact) VideoMode: VideoModeMethods
---@class VideoModeClass: VideoModeMethods
local module =
---@class VideoModeMethods
local methods =
---Resolution of the video mode.
---@param self VideoMode
---@return integer
---@return integer
---@nodiscard
---Horizontal resolution of the video mode.
---@param self VideoMode
---@return integer
---@nodiscard
---Vertical resolution of the video mode.
---@param self VideoMode
---@return integer
---@nodiscard
---Bit depth of the video mode (how many bits per color).
---@param self VideoMode
---@return integer
---@nodiscard
---Refresh rate of the video mode in `mHz`.
---@param self VideoMode
---@return integer
---@nodiscard
---The monitor this video mode belongs to.
---@param self VideoMode
---@return Monitor
---@nodiscard
return module