Sha256: a01b95cc5900c18e8fffab287e7ef7afd94ddca0cee3093bffc37067490850e0

Contents?: true

Size: 756 Bytes

Versions: 1

Compression:

Stored size: 756 Bytes

Contents

module GLFW

  ##
  # Describes the video settings for a {Monitor}.
  class VideoMode

    ##
    # @return [Integer] the width, in screen coordinates, of the video mode.
    attr_reader :width

    ##
    # @return [Integer] the height, in screen coordinates, of the video mode.
    attr_reader :height

    ##
    # @return [Integer] the bit depth of the red channel of the video mode.
    attr_reader :red_bits

    ##
    # @return [Integer] the bit depth of the green channel of the video mode.
    attr_reader :green_bits

    ##
    # @return [Integer] the bit depth of the blue channel of the video mode.
    attr_reader :blue_bits

    ##
    # @return [Integer] the refresh rate, in Hz, of the video mode.
    attr_reader :refresh_rate
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glfw-3.3.2.0 lib/glfw/stubs/video_mode.rb