Class: GLFW::VideoMode
- Inherits:
-
Object
- Object
- GLFW::VideoMode
- Defined in:
- lib/glfw/stubs/video_mode.rb
Overview
Describes the video settings for a Monitor.
Instance Attribute Summary collapse
-
#blue_bits ⇒ Integer
readonly
The bit depth of the blue channel of the video mode.
-
#green_bits ⇒ Integer
readonly
The bit depth of the green channel of the video mode.
-
#height ⇒ Integer
readonly
The height, in screen coordinates, of the video mode.
-
#red_bits ⇒ Integer
readonly
The bit depth of the red channel of the video mode.
-
#refresh_rate ⇒ Integer
readonly
The refresh rate, in Hz, of the video mode.
-
#width ⇒ Integer
readonly
The width, in screen coordinates, of the video mode.
Instance Attribute Details
#blue_bits ⇒ Integer (readonly)
Returns the bit depth of the blue channel of the video mode.
26 27 28 |
# File 'lib/glfw/stubs/video_mode.rb', line 26 def blue_bits @blue_bits end |
#green_bits ⇒ Integer (readonly)
Returns the bit depth of the green channel of the video mode.
22 23 24 |
# File 'lib/glfw/stubs/video_mode.rb', line 22 def green_bits @green_bits end |
#height ⇒ Integer (readonly)
Returns the height, in screen coordinates, of the video mode.
14 15 16 |
# File 'lib/glfw/stubs/video_mode.rb', line 14 def height @height end |
#red_bits ⇒ Integer (readonly)
Returns the bit depth of the red channel of the video mode.
18 19 20 |
# File 'lib/glfw/stubs/video_mode.rb', line 18 def red_bits @red_bits end |
#refresh_rate ⇒ Integer (readonly)
Returns the refresh rate, in Hz, of the video mode.
30 31 32 |
# File 'lib/glfw/stubs/video_mode.rb', line 30 def refresh_rate @refresh_rate end |
#width ⇒ Integer (readonly)
Returns the width, in screen coordinates, of the video mode.
10 11 12 |
# File 'lib/glfw/stubs/video_mode.rb', line 10 def width @width end |