The different types of attributes that can be set for a specific OpenGL context. Only a few of these are going to be used in a simple application.
The different types of events that may be generated during an applications lifetime. These correlate to the different type of event structs that are given to us when one of these events occurs. See input.rb for the list of structs.
Virtual key codes which map to the value that the operating system gets when a key is pushed. These should be used almost always by default as users can always remap their keys if they have a different layout and wish to have a more comfortable layout for controls.
Key modifier values that correspond to the :mod value within the Keysym struct
Mouse button values that correspond to the :button value within the MouseButtonEvent struct
Physical key codes which map to the location of specific keys on a keyboard. These should almost never be used because a user will not be able to arrange their keyboard setup in order to achieve a more preferred layout.
Used to convert some scan codes into key codes.
# File lib/rubygl/native/all_enums.rb, line 378 def self.scancode_to_keycode(scancode) code_value = ALL_SCANCODES[scancode] code_value | (1 << 30) end
# File lib/rubygl/native/opengl.rb, line 4 def self.unsafe_attach_function(func, args, returns, options = {}) begin attach_function func, args, returns, options rescue FFI::NotFoundError # Ignore Functions Not Found end end
Generated with the Darkfish Rdoc Generator 2.