struct CrystGLFW::Monitor::VideoMode
- CrystGLFW::Monitor::VideoMode
- Struct
- Value
- Object
Overview
A VideoMode object wraps an underlying GLFW Vidmode and exposes its attributes.
Defined in:
crystglfw/monitors/video_mode.crInstance Method Summary
-
#blue_bits : Number
Returns the bit depth of the blue channel.
-
#channel_bits : NamedTuple()
Returns the bit depth of each channel of the video mode.
-
#green_bits : Number
Returns the bit depth of the green channel.
-
#height : Number
Returns the height, in screen coordinates, of the video mode.
-
#red_bits : Number
Returns the bit depth of the red channel.
-
#refresh_rate : Number
Returns the refresh rate, in Hz, of the video mode.
-
#size : NamedTuple()
Returns the size, in screen coordinates, of the video mode.
-
#width : Number
Returns the width, in screen coordinates, of the video mode.