Expand description
This crate provides a statically-linked definition of the GLFW library from source.
The generated bindings are
Structs§
- @brief Gamepad input state
- @brief Gamma ramp.
- @brief Image data.
- @brief Video mode type.
Constants§
Functions§
- @brief Creates a custom cursor.
- @brief Creates a cursor with a standard shape.
- @brief Creates a window and its associated context.
- @brief Resets all window hints to their default values.
- @brief Destroys a cursor.
- @brief Destroys the specified window and its context.
- @brief Returns whether the specified extension is available.
- @brief Brings the specified window to front and sets input focus.
- @brief Returns the contents of the clipboard as a string.
- @brief Returns the window whose context is current on the calling thread.
- @brief Retrieves the position of the cursor relative to the content area of the window.
- @brief Returns and clears the last error for the calling thread.
- @brief Retrieves the size of the framebuffer of the specified window.
- @brief Returns the human-readable gamepad name for the specified joystick.
- @brief Retrieves the state of the specified joystick remapped as a gamepad.
- @brief Returns the current gamma ramp for the specified monitor.
- @brief Returns the value of an input option for the specified window.
- @brief Returns the values of all axes of the specified joystick.
- @brief Returns the state of all buttons of the specified joystick.
- @brief Returns the SDL compatible GUID of the specified joystick.
- @brief Returns the state of all hats of the specified joystick.
- @brief Returns the name of the specified joystick.
- @brief Returns the user pointer of the specified joystick.
- @brief Returns the last reported state of a keyboard key for the specified window.
- @brief Returns the layout-specific name of the specified printable key.
- @brief Returns the platform-specific scancode of the specified key.
- @brief Retrieves the content scale for the specified monitor.
- @brief Returns the name of the specified monitor.
- @brief Returns the physical size of the monitor.
- @brief Returns the position of the monitor’s viewport on the virtual screen.
- @brief Returns the user pointer of the specified monitor.
- @brief Retrieves the work area of the monitor.
- @brief Returns the currently connected monitors.
- @brief Returns the last reported state of a mouse button for the specified window.
- @brief Returns the primary monitor.
- @brief Returns the address of the specified function for the current context.
- @brief Returns the Vulkan instance extensions required by GLFW.
- @brief Returns the GLFW time.
- @brief Returns the frequency, in Hz, of the raw timer.
- @brief Returns the current value of the raw timer.
- @brief Retrieves the version of the GLFW library.
- @brief Returns a string describing the compile-time configuration.
- @brief Returns the current mode of the specified monitor.
- @brief Returns the available video modes for the specified monitor.
- @brief Returns an attribute of the specified window.
- @brief Retrieves the content scale for the specified window.
- @brief Retrieves the size of the frame of the window.
- @brief Returns the monitor that the window uses for full screen mode.
- @brief Returns the opacity of the whole window.
- @brief Retrieves the position of the content area of the specified window.
- @brief Retrieves the size of the content area of the specified window.
- @brief Returns the user pointer of the specified window.
- @brief Hides the specified window.
- @brief Iconifies the specified window.
- @brief Initializes the GLFW library.
- @brief Sets the specified init hint to the desired value.
- @brief Returns whether the specified joystick has a gamepad mapping.
- @brief Returns whether the specified joystick is present.
- @brief Makes the context of the specified window current for the calling thread.
- @brief Maximizes the specified window.
- @brief Processes all pending events.
- @brief Posts an empty event to the event queue.
- @brief Returns whether raw mouse motion is supported.
- @brief Requests user attention to the specified window.
- @brief Restores the specified window.
- @brief Sets the Unicode character callback.
- @brief Sets the Unicode character with modifiers callback.
- @brief Sets the clipboard to the specified string.
- @brief Sets the cursor for the window.
- @brief Sets the cursor enter/leave callback.
- @brief Sets the position of the cursor, relative to the content area of the window.
- @brief Sets the cursor position callback.
- @brief Sets the path drop callback.
- @brief Sets the error callback.
- @brief Sets the framebuffer resize callback for the specified window.
- @brief Generates a gamma ramp and sets it for the specified monitor.
- @brief Sets the current gamma ramp for the specified monitor.
- @brief Sets an input option for the specified window.
- @brief Sets the joystick configuration callback.
- @brief Sets the user pointer of the specified joystick.
- @brief Sets the key callback.
- @brief Sets the monitor configuration callback.
- @brief Sets the user pointer of the specified monitor.
- @brief Sets the mouse button callback.
- @brief Sets the scroll callback.
- @brief Sets the GLFW time.
- @brief Sets the aspect ratio of the specified window.
- @brief Sets an attribute of the specified window.
- @brief Sets the close callback for the specified window.
- @brief Sets the window content scale callback for the specified window.
- @brief Sets the focus callback for the specified window.
- @brief Sets the icon for the specified window.
- @brief Sets the iconify callback for the specified window.
- @brief Sets the maximize callback for the specified window.
- @brief Sets the mode, monitor, video mode and placement of a window.
- @brief Sets the opacity of the whole window.
- @brief Sets the position of the content area of the specified window.
- @brief Sets the position callback for the specified window.
- @brief Sets the refresh callback for the specified window.
- @brief Sets the close flag of the specified window.
- @brief Sets the size of the content area of the specified window.
- @brief Sets the size callback for the specified window.
- @brief Sets the size limits of the specified window.
- @brief Sets the title of the specified window.
- @brief Sets the user pointer of the specified window.
- @brief Makes the specified window visible.
- @brief Swaps the front and back buffers of the specified window.
- @brief Sets the swap interval for the current context.
- @brief Terminates the GLFW library.
- @brief Adds the specified SDL_GameControllerDB gamepad mappings.
- @brief Returns whether the Vulkan loader and an ICD have been found.
- @brief Waits until events are queued and processes them.
- @brief Waits with timeout until events are queued and processes them.
- @brief Sets the specified window hint to the desired value.
- @brief Sets the specified window hint to the desired value.
- @brief Checks the close flag of the specified window.
Type Aliases§
- @brief The function pointer type for Unicode character callbacks.
- @brief The function pointer type for Unicode character with modifiers callbacks.
- @brief The function pointer type for cursor enter/leave callbacks.
- @brief The function pointer type for cursor position callbacks.
- @brief The function pointer type for path drop callbacks.
- @brief The function pointer type for error callbacks.
- @brief The function pointer type for framebuffer size callbacks.
- @brief Client API function pointer type.
- @brief The function pointer type for joystick configuration callbacks.
- @brief The function pointer type for keyboard key callbacks.
- @brief The function pointer type for monitor configuration callbacks.
- @brief The function pointer type for mouse button callbacks.
- @brief The function pointer type for scroll callbacks.
- @brief The function pointer type for window close callbacks.
- @brief The function pointer type for window content scale callbacks.
- @brief The function pointer type for window focus callbacks.
- @brief The function pointer type for window iconify callbacks.
- @brief The function pointer type for window maximize callbacks.
- @brief The function pointer type for window position callbacks.
- @brief The function pointer type for window content refresh callbacks.
- @brief The function pointer type for window size callbacks.