glfw3 library

Constants

GLFW_ACCUM_ALPHA_BITS → const int
GLFW_ACCUM_BLUE_BITS → const int
GLFW_ACCUM_GREEN_BITS → const int
GLFW_ACCUM_RED_BITS → const int
GLFW_ALPHA_BITS → const int
GLFW_ANY_RELEASE_BEHAVIOR → const int
GLFW_API_UNAVAILABLE → const int
GLFW_ARROW_CURSOR → const int
GLFW_AUTO_ICONIFY → const int
GLFW_AUX_BUFFERS → const int
GLFW_BLUE_BITS → const int
GLFW_CENTER_CURSOR → const int
GLFW_CLIENT_API → const int
GLFW_COCOA_CHDIR_RESOURCES → const int
GLFW_COCOA_FRAME_NAME → const int
GLFW_COCOA_GRAPHICS_SWITCHING → const int
GLFW_COCOA_MENUBAR → const int
GLFW_COCOA_RETINA_FRAMEBUFFER → const int
GLFW_CONNECTED → const int
GLFW_CONTEXT_CREATION_API → const int
GLFW_CONTEXT_NO_ERROR → const int
GLFW_CONTEXT_RELEASE_BEHAVIOR → const int
GLFW_CONTEXT_REVISION → const int
GLFW_CONTEXT_ROBUSTNESS → const int
GLFW_CONTEXT_VERSION_MAJOR → const int
GLFW_CONTEXT_VERSION_MINOR → const int
GLFW_CROSSHAIR_CURSOR → const int
GLFW_CURSOR → const int
GLFW_CURSOR_DISABLED → const int
GLFW_CURSOR_HIDDEN → const int
GLFW_CURSOR_NORMAL → const int
GLFW_DECORATED → const int
GLFW_DEPTH_BITS → const int
GLFW_DISCONNECTED → const int
GLFW_DONT_CARE → const int
GLFW_DOUBLEBUFFER → const int
GLFW_EGL_CONTEXT_API → const int
GLFW_FALSE → const int
GLFW_FLOATING → const int
GLFW_FOCUS_ON_SHOW → const int
GLFW_FOCUSED → const int
GLFW_FORMAT_UNAVAILABLE → const int
GLFW_GAMEPAD_AXIS_LAST → const int
GLFW_GAMEPAD_AXIS_LEFT_TRIGGER → const int
GLFW_GAMEPAD_AXIS_LEFT_X → const int
GLFW_GAMEPAD_AXIS_LEFT_Y → const int
GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER → const int
GLFW_GAMEPAD_AXIS_RIGHT_X → const int
GLFW_GAMEPAD_AXIS_RIGHT_Y → const int
GLFW_GAMEPAD_BUTTON_A → const int
GLFW_GAMEPAD_BUTTON_B → const int
GLFW_GAMEPAD_BUTTON_BACK → const int
GLFW_GAMEPAD_BUTTON_CIRCLE → const int
GLFW_GAMEPAD_BUTTON_CROSS → const int
GLFW_GAMEPAD_BUTTON_DPAD_DOWN → const int
GLFW_GAMEPAD_BUTTON_DPAD_LEFT → const int
GLFW_GAMEPAD_BUTTON_DPAD_RIGHT → const int
GLFW_GAMEPAD_BUTTON_DPAD_UP → const int
GLFW_GAMEPAD_BUTTON_GUIDE → const int
GLFW_GAMEPAD_BUTTON_LAST → const int
GLFW_GAMEPAD_BUTTON_LEFT_BUMPER → const int
GLFW_GAMEPAD_BUTTON_LEFT_THUMB → const int
GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER → const int
GLFW_GAMEPAD_BUTTON_RIGHT_THUMB → const int
GLFW_GAMEPAD_BUTTON_SQUARE → const int
GLFW_GAMEPAD_BUTTON_START → const int
GLFW_GAMEPAD_BUTTON_TRIANGLE → const int
GLFW_GAMEPAD_BUTTON_X → const int
GLFW_GAMEPAD_BUTTON_Y → const int
GLFW_GREEN_BITS → const int
GLFW_HAND_CURSOR → const int
GLFW_HAT_CENTERED → const int
GLFW_HAT_DOWN → const int
GLFW_HAT_LEFT → const int
GLFW_HAT_LEFT_DOWN → const int
GLFW_HAT_LEFT_UP → const int
GLFW_HAT_RIGHT → const int
GLFW_HAT_RIGHT_DOWN → const int
GLFW_HAT_RIGHT_UP → const int
GLFW_HAT_UP → const int
GLFW_HOVERED → const int
GLFW_HRESIZE_CURSOR → const int
GLFW_IBEAM_CURSOR → const int
GLFW_ICONIFIED → const int
GLFW_INVALID_ENUM → const int
GLFW_INVALID_VALUE → const int
GLFW_JOYSTICK_1 → const int
GLFW_JOYSTICK_10 → const int
GLFW_JOYSTICK_11 → const int
GLFW_JOYSTICK_12 → const int
GLFW_JOYSTICK_13 → const int
GLFW_JOYSTICK_14 → const int
GLFW_JOYSTICK_15 → const int
GLFW_JOYSTICK_16 → const int
GLFW_JOYSTICK_2 → const int
GLFW_JOYSTICK_3 → const int
GLFW_JOYSTICK_4 → const int
GLFW_JOYSTICK_5 → const int
GLFW_JOYSTICK_6 → const int
GLFW_JOYSTICK_7 → const int
GLFW_JOYSTICK_8 → const int
GLFW_JOYSTICK_9 → const int
GLFW_JOYSTICK_HAT_BUTTONS → const int
GLFW_JOYSTICK_LAST → const int
GLFW_KEY_0 → const int
GLFW_KEY_1 → const int
GLFW_KEY_2 → const int
GLFW_KEY_3 → const int
GLFW_KEY_4 → const int
GLFW_KEY_5 → const int
GLFW_KEY_6 → const int
GLFW_KEY_7 → const int
GLFW_KEY_8 → const int
GLFW_KEY_9 → const int
GLFW_KEY_A → const int
GLFW_KEY_APOSTROPHE → const int
GLFW_KEY_B → const int
GLFW_KEY_BACKSLASH → const int
GLFW_KEY_BACKSPACE → const int
GLFW_KEY_C → const int
GLFW_KEY_CAPS_LOCK → const int
GLFW_KEY_COMMA → const int
GLFW_KEY_D → const int
GLFW_KEY_DELETE → const int
GLFW_KEY_DOWN → const int
GLFW_KEY_E → const int
GLFW_KEY_END → const int
GLFW_KEY_ENTER → const int
GLFW_KEY_EQUAL → const int
GLFW_KEY_ESCAPE → const int
GLFW_KEY_F → const int
GLFW_KEY_F1 → const int
GLFW_KEY_F10 → const int
GLFW_KEY_F11 → const int
GLFW_KEY_F12 → const int
GLFW_KEY_F13 → const int
GLFW_KEY_F14 → const int
GLFW_KEY_F15 → const int
GLFW_KEY_F16 → const int
GLFW_KEY_F17 → const int
GLFW_KEY_F18 → const int
GLFW_KEY_F19 → const int
GLFW_KEY_F2 → const int
GLFW_KEY_F20 → const int
GLFW_KEY_F21 → const int
GLFW_KEY_F22 → const int
GLFW_KEY_F23 → const int
GLFW_KEY_F24 → const int
GLFW_KEY_F25 → const int
GLFW_KEY_F3 → const int
GLFW_KEY_F4 → const int
GLFW_KEY_F5 → const int
GLFW_KEY_F6 → const int
GLFW_KEY_F7 → const int
GLFW_KEY_F8 → const int
GLFW_KEY_F9 → const int
GLFW_KEY_G → const int
GLFW_KEY_GRAVE_ACCENT → const int
GLFW_KEY_H → const int
GLFW_KEY_HOME → const int
GLFW_KEY_I → const int
GLFW_KEY_INSERT → const int
GLFW_KEY_J → const int
GLFW_KEY_K → const int
GLFW_KEY_KP_0 → const int
GLFW_KEY_KP_1 → const int
GLFW_KEY_KP_2 → const int
GLFW_KEY_KP_3 → const int
GLFW_KEY_KP_4 → const int
GLFW_KEY_KP_5 → const int
GLFW_KEY_KP_6 → const int
GLFW_KEY_KP_7 → const int
GLFW_KEY_KP_8 → const int
GLFW_KEY_KP_9 → const int
GLFW_KEY_KP_ADD → const int
GLFW_KEY_KP_DECIMAL → const int
GLFW_KEY_KP_DIVIDE → const int
GLFW_KEY_KP_ENTER → const int
GLFW_KEY_KP_EQUAL → const int
GLFW_KEY_KP_MULTIPLY → const int
GLFW_KEY_KP_SUBTRACT → const int
GLFW_KEY_L → const int
GLFW_KEY_LAST → const int
GLFW_KEY_LEFT → const int
GLFW_KEY_LEFT_ALT → const int
GLFW_KEY_LEFT_BRACKET → const int
GLFW_KEY_LEFT_CONTROL → const int
GLFW_KEY_LEFT_SHIFT → const int
GLFW_KEY_LEFT_SUPER → const int
GLFW_KEY_M → const int
GLFW_KEY_MENU → const int
GLFW_KEY_MINUS → const int
GLFW_KEY_N → const int
GLFW_KEY_NUM_LOCK → const int
GLFW_KEY_O → const int
GLFW_KEY_P → const int
GLFW_KEY_PAGE_DOWN → const int
GLFW_KEY_PAGE_UP → const int
GLFW_KEY_PAUSE → const int
GLFW_KEY_PERIOD → const int
GLFW_KEY_PRINT_SCREEN → const int
GLFW_KEY_Q → const int
GLFW_KEY_R → const int
GLFW_KEY_RIGHT → const int
GLFW_KEY_RIGHT_ALT → const int
GLFW_KEY_RIGHT_BRACKET → const int
GLFW_KEY_RIGHT_CONTROL → const int
GLFW_KEY_RIGHT_SHIFT → const int
GLFW_KEY_RIGHT_SUPER → const int
GLFW_KEY_S → const int
GLFW_KEY_SCROLL_LOCK → const int
GLFW_KEY_SEMICOLON → const int
GLFW_KEY_SLASH → const int
GLFW_KEY_SPACE → const int
GLFW_KEY_T → const int
GLFW_KEY_TAB → const int
GLFW_KEY_U → const int
GLFW_KEY_UNKNOWN → const int
GLFW_KEY_UP → const int
GLFW_KEY_V → const int
GLFW_KEY_W → const int
GLFW_KEY_WORLD_1 → const int
GLFW_KEY_WORLD_2 → const int
GLFW_KEY_X → const int
GLFW_KEY_Y → const int
GLFW_KEY_Z → const int
GLFW_LOCK_KEY_MODS → const int
GLFW_LOSE_CONTEXT_ON_RESET → const int
GLFW_MAXIMIZED → const int
GLFW_MOD_ALT → const int
GLFW_MOD_CAPS_LOCK → const int
GLFW_MOD_CONTROL → const int
GLFW_MOD_NUM_LOCK → const int
GLFW_MOD_SHIFT → const int
GLFW_MOD_SUPER → const int
GLFW_MOUSE_BUTTON_1 → const int
GLFW_MOUSE_BUTTON_2 → const int
GLFW_MOUSE_BUTTON_3 → const int
GLFW_MOUSE_BUTTON_4 → const int
GLFW_MOUSE_BUTTON_5 → const int
GLFW_MOUSE_BUTTON_6 → const int
GLFW_MOUSE_BUTTON_7 → const int
GLFW_MOUSE_BUTTON_8 → const int
GLFW_MOUSE_BUTTON_LAST → const int
GLFW_MOUSE_BUTTON_LEFT → const int
GLFW_MOUSE_BUTTON_MIDDLE → const int
GLFW_MOUSE_BUTTON_RIGHT → const int
GLFW_NATIVE_CONTEXT_API → const int
GLFW_NO_API → const int
GLFW_NO_CURRENT_CONTEXT → const int
GLFW_NO_ERROR → const int
GLFW_NO_RESET_NOTIFICATION → const int
GLFW_NO_ROBUSTNESS → const int
GLFW_NO_WINDOW_CONTEXT → const int
GLFW_NOT_INITIALIZED → const int
GLFW_OPENGL_ANY_PROFILE → const int
GLFW_OPENGL_API → const int
GLFW_OPENGL_COMPAT_PROFILE → const int
GLFW_OPENGL_CORE_PROFILE → const int
GLFW_OPENGL_DEBUG_CONTEXT → const int
GLFW_OPENGL_ES_API → const int
GLFW_OPENGL_FORWARD_COMPAT → const int
GLFW_OPENGL_PROFILE → const int
GLFW_OSMESA_CONTEXT_API → const int
GLFW_OUT_OF_MEMORY → const int
GLFW_PLATFORM_ERROR → const int
GLFW_PRESS → const int
GLFW_RAW_MOUSE_MOTION → const int
GLFW_RED_BITS → const int
GLFW_REFRESH_RATE → const int
GLFW_RELEASE → const int
GLFW_RELEASE_BEHAVIOR_FLUSH → const int
GLFW_RELEASE_BEHAVIOR_NONE → const int
GLFW_REPEAT → const int
GLFW_RESIZABLE → const int
GLFW_SAMPLES → const int
GLFW_SCALE_TO_MONITOR → const int
GLFW_SRGB_CAPABLE → const int
GLFW_STENCIL_BITS → const int
GLFW_STEREO → const int
GLFW_STICKY_KEYS → const int
GLFW_STICKY_MOUSE_BUTTONS → const int
GLFW_TRANSPARENT_FRAMEBUFFER → const int
GLFW_TRUE → const int
GLFW_VERSION_MAJOR → const int
GLFW_VERSION_MINOR → const int
GLFW_VERSION_REVISION → const int
GLFW_VERSION_UNAVAILABLE → const int
GLFW_VISIBLE → const int
GLFW_VRESIZE_CURSOR → const int
GLFW_WAYLAND_DISABLE_LIBDECOR → const int
GLFW_WAYLAND_LIBDECOR → const int
GLFW_WAYLAND_PREFER_LIBDECOR → const int
GLFW_X11_CLASS_NAME → const int
GLFW_X11_INSTANCE_NAME → const int

Properties

libglfw DynamicLibrary
final

Functions

glfwCreateCursor(Pointer<GLFWimage> image, int xhot, int yhot) Pointer<GLFWcursor>
! @brief Creates a custom cursor.
glfwCreateStandardCursor(int shape) Pointer<GLFWcursor>
! @brief Creates a cursor with a standard shape.
glfwCreateWindow(int width, int height, String title, Pointer<GLFWmonitor> monitor, Pointer<GLFWwindow> share) Pointer<GLFWwindow>
! @brief Creates a window and its associated context.
glfwCreateWindowSurface(Pointer<Void> instance, Pointer<GLFWwindow> window, Pointer<Void> allocator, Pointer<Void> surface) Pointer<Void>
! @brief Creates a Vulkan surface for the specified window.
glfwDefaultWindowHints() → void
! @brief Resets all window hints to their default values.
glfwDestroyCursor(Pointer<GLFWcursor> cursor) → void
! @brief Destroys a cursor.
glfwDestroyWindow(Pointer<GLFWwindow> window) → void
! @brief Destroys the specified window and its context.
glfwExtensionSupported(String extension) int
! @brief Returns whether the specified extension is available.
glfwFocusWindow(Pointer<GLFWwindow> window) → void
! @brief Brings the specified window to front and sets input focus.
glfwGetClipboardString(Pointer<GLFWwindow> window) String
! @brief Returns the contents of the clipboard as a string.
glfwGetCurrentContext() Pointer<GLFWwindow>
! @brief Returns the window whose context is current on the calling thread.
glfwGetCursorPos(Pointer<GLFWwindow> window, Pointer<Double> xpos, Pointer<Double> ypos) → void
! @brief Retrieves the position of the cursor relative to the content area of the window.
glfwGetError(Pointer<Pointer<Utf8>> description) int
! @brief Returns and clears the last error for the calling thread.
glfwGetFramebufferSize(Pointer<GLFWwindow> window, Pointer<Int32> width, Pointer<Int32> height) → void
! @brief Retrieves the size of the framebuffer of the specified window.
glfwGetGamepadName(int jid) String
! @brief Returns the human-readable gamepad name for the specified joystick.
glfwGetGamepadState(int jid, Pointer<GLFWgamepadstate> state) int
! @brief Retrieves the state of the specified joystick remapped as a gamepad.
glfwGetGammaRamp(Pointer<GLFWmonitor> monitor) Pointer<GLFWgammaramp>
! @brief Returns the current gamma ramp for the specified monitor.
glfwGetInputMode(Pointer<GLFWwindow> window, int mode) int
! @brief Returns the value of an input option for the specified window.
glfwGetInstanceProcAddress(Pointer<Void> instance, String procname) GLFWvkproc
! @brief Returns the address of the specified Vulkan instance function.
glfwGetJoystickAxes(int jid, Pointer<Int32> count) Pointer<Float>
! @brief Returns the values of all axes of the specified joystick.
glfwGetJoystickButtons(int jid, Pointer<Int32> count) Pointer<Uint8>
! @brief Returns the state of all buttons of the specified joystick.
glfwGetJoystickGUID(int jid) String
! @brief Returns the SDL compatible GUID of the specified joystick.
glfwGetJoystickHats(int jid, Pointer<Int32> count) Pointer<Uint8>
! @brief Returns the state of all hats of the specified joystick.
glfwGetJoystickName(int jid) String
! @brief Returns the name of the specified joystick.
glfwGetJoystickUserPointer(int jid) Pointer<Void>
! @brief Returns the user pointer of the specified joystick.
glfwGetKey(Pointer<GLFWwindow> window, int key) int
! @brief Returns the last reported state of a keyboard key for the specified window.
glfwGetKeyName(int key, int scancode) String
! @brief Returns the layout-specific name of the specified printable key.
glfwGetKeyScancode(int key) int
! @brief Returns the platform-specific scancode of the specified key.
glfwGetMonitorContentScale(Pointer<GLFWmonitor> monitor, Pointer<Float> xscale, Pointer<Float> yscale) → void
! @brief Retrieves the content scale for the specified monitor.
glfwGetMonitorName(Pointer<GLFWmonitor> monitor) String
! @brief Returns the name of the specified monitor.
glfwGetMonitorPhysicalSize(Pointer<GLFWmonitor> monitor, Pointer<Int32> widthMM, Pointer<Int32> heightMM) → void
! @brief Returns the physical size of the monitor.
glfwGetMonitorPos(Pointer<GLFWmonitor> monitor, Pointer<Int32> xpos, Pointer<Int32> ypos) → void
! @brief Returns the position of the monitor's viewport on the virtual screen.
glfwGetMonitors(Pointer<Int32> count) Pointer<Pointer<GLFWmonitor>>
! @brief Returns the currently connected monitors.
glfwGetMonitorUserPointer(Pointer<GLFWmonitor> monitor) Pointer<Void>
! @brief Returns the user pointer of the specified monitor.
glfwGetMonitorWorkarea(Pointer<GLFWmonitor> monitor, Pointer<Int32> xpos, Pointer<Int32> ypos, Pointer<Int32> width, Pointer<Int32> height) → void
! @brief Retrieves the work area of the monitor.
glfwGetMouseButton(Pointer<GLFWwindow> window, int button) int
! @brief Returns the last reported state of a mouse button for the specified window.
glfwGetPhysicalDevicePresentationSupport(Pointer<Void> instance, Pointer<Void> device, int queuefamily) int
! @brief Returns whether the specified queue family can present images.
glfwGetPrimaryMonitor() Pointer<GLFWmonitor>
! @brief Returns the primary monitor.
glfwGetProcAddress(String procname) GLFWglproc
! @brief Returns the address of the specified function for the current context.
glfwGetRequiredInstanceExtensions(Pointer<Uint32> count) Pointer<Pointer<Utf8>>
! @brief Returns the Vulkan instance extensions required by GLFW.
glfwGetTime() double
! @brief Returns the GLFW time.
glfwGetTimerFrequency() int
! @brief Returns the frequency, in Hz, of the raw timer.
glfwGetTimerValue() int
! @brief Returns the current value of the raw timer.
glfwGetVersion(Pointer<Int32> major, Pointer<Int32> minor, Pointer<Int32> rev) → void
! @brief Retrieves the version of the GLFW library.
glfwGetVersionString() String
! @brief Returns a string describing the compile-time configuration.
glfwGetVideoMode(Pointer<GLFWmonitor> monitor) Pointer<GLFWvidmode>
! @brief Returns the current mode of the specified monitor.
glfwGetVideoModes(Pointer<GLFWmonitor> monitor, Pointer<Int32> count) Pointer<GLFWvidmode>
! @brief Returns the available video modes for the specified monitor.
glfwGetWindowAttrib(Pointer<GLFWwindow> window, int attrib) int
! @brief Returns an attribute of the specified window.
glfwGetWindowContentScale(Pointer<GLFWwindow> window, Pointer<Float> xscale, Pointer<Float> yscale) → void
! @brief Retrieves the content scale for the specified window.
glfwGetWindowFrameSize(Pointer<GLFWwindow> window, Pointer<Int32> left, Pointer<Int32> top, Pointer<Int32> right, Pointer<Int32> bottom) → void
! @brief Retrieves the size of the frame of the window.
glfwGetWindowMonitor(Pointer<GLFWwindow> window) Pointer<GLFWmonitor>
! @brief Returns the monitor that the window uses for full screen mode.
glfwGetWindowOpacity(Pointer<GLFWwindow> window) double
! @brief Returns the opacity of the whole window.
glfwGetWindowPos(Pointer<GLFWwindow> window, Pointer<Int32> xpos, Pointer<Int32> ypos) → void
! @brief Retrieves the position of the content area of the specified window.
glfwGetWindowSize(Pointer<GLFWwindow> window, Pointer<Int32> width, Pointer<Int32> height) → void
! @brief Retrieves the size of the content area of the specified window.
glfwGetWindowUserPointer(Pointer<GLFWwindow> window) Pointer<Void>
! @brief Returns the user pointer of the specified window.
glfwHideWindow(Pointer<GLFWwindow> window) → void
! @brief Hides the specified window.
glfwIconifyWindow(Pointer<GLFWwindow> window) → void
! @brief Iconifies the specified window.
glfwInit() int
! @brief Initializes the GLFW library.
glfwInitHint(int hint, int value) → void
! @brief Sets the specified init hint to the desired value.
glfwJoystickIsGamepad(int jid) int
! @brief Returns whether the specified joystick has a gamepad mapping.
glfwJoystickPresent(int jid) int
! @brief Returns whether the specified joystick is present.
glfwMakeContextCurrent(Pointer<GLFWwindow> window) → void
! @brief Makes the context of the specified window current for the calling thread.
glfwMaximizeWindow(Pointer<GLFWwindow> window) → void
! @brief Maximizes the specified window.
glfwPollEvents() → void
! @brief Processes all pending events.
glfwPostEmptyEvent() → void
! @brief Posts an empty event to the event queue.
glfwRawMouseMotionSupported() int
! @brief Returns whether raw mouse motion is supported.
glfwRequestWindowAttention(Pointer<GLFWwindow> window) → void
! @brief Requests user attention to the specified window.
glfwRestoreWindow(Pointer<GLFWwindow> window) → void
! @brief Restores the specified window.
glfwSetCharCallback(Pointer<GLFWwindow> window, GLFWcharfun callback) GLFWcharfun
! @brief Sets the Unicode character callback.
glfwSetCharModsCallback(Pointer<GLFWwindow> window, GLFWcharmodsfun callback) GLFWcharmodsfun
! @brief Sets the Unicode character with modifiers callback.
glfwSetClipboardString(Pointer<GLFWwindow> window, String string) → void
! @brief Sets the clipboard to the specified string.
glfwSetCursor(Pointer<GLFWwindow> window, Pointer<GLFWcursor> cursor) → void
! @brief Sets the cursor for the window.
glfwSetCursorEnterCallback(Pointer<GLFWwindow> window, GLFWcursorenterfun callback) GLFWcursorenterfun
! @brief Sets the cursor enter/leave callback.
glfwSetCursorPos(Pointer<GLFWwindow> window, double xpos, double ypos) → void
! @brief Sets the position of the cursor, relative to the content area of the window.
glfwSetCursorPosCallback(Pointer<GLFWwindow> window, GLFWcursorposfun callback) GLFWcursorposfun
! @brief Sets the cursor position callback.
glfwSetDropCallback(Pointer<GLFWwindow> window, GLFWdropfun callback) GLFWdropfun
! @brief Sets the path drop callback.
glfwSetErrorCallback(GLFWerrorfun callback) GLFWerrorfun
! @brief Sets the error callback.
glfwSetFramebufferSizeCallback(Pointer<GLFWwindow> window, GLFWframebuffersizefun callback) GLFWframebuffersizefun
! @brief Sets the framebuffer resize callback for the specified window.
glfwSetGamma(Pointer<GLFWmonitor> monitor, double gamma) → void
! @brief Generates a gamma ramp and sets it for the specified monitor.
glfwSetGammaRamp(Pointer<GLFWmonitor> monitor, Pointer<GLFWgammaramp> ramp) → void
! @brief Sets the current gamma ramp for the specified monitor.
glfwSetInputMode(Pointer<GLFWwindow> window, int mode, int value) → void
! @brief Sets an input option for the specified window.
glfwSetJoystickCallback(GLFWjoystickfun callback) GLFWjoystickfun
! @brief Sets the joystick configuration callback.
glfwSetJoystickUserPointer(int jid, Pointer<Void> pointer) → void
! @brief Sets the user pointer of the specified joystick.
glfwSetKeyCallback(Pointer<GLFWwindow> window, GLFWkeyfun callback) GLFWkeyfun
! @brief Sets the key callback.
glfwSetMonitorCallback(GLFWmonitorfun callback) GLFWmonitorfun
! @brief Sets the monitor configuration callback.
glfwSetMonitorUserPointer(Pointer<GLFWmonitor> monitor, Pointer<Void> pointer) → void
! @brief Sets the user pointer of the specified monitor.
glfwSetMouseButtonCallback(Pointer<GLFWwindow> window, GLFWmousebuttonfun callback) GLFWmousebuttonfun
! @brief Sets the mouse button callback.
glfwSetScrollCallback(Pointer<GLFWwindow> window, GLFWscrollfun callback) GLFWscrollfun
! @brief Sets the scroll callback.
glfwSetTime(double time) → void
! @brief Sets the GLFW time.
glfwSetWindowAspectRatio(Pointer<GLFWwindow> window, int numer, int denom) → void
! @brief Sets the aspect ratio of the specified window.
glfwSetWindowAttrib(Pointer<GLFWwindow> window, int attrib, int value) → void
! @brief Sets an attribute of the specified window.
glfwSetWindowCloseCallback(Pointer<GLFWwindow> window, GLFWwindowclosefun callback) GLFWwindowclosefun
! @brief Sets the close callback for the specified window.
glfwSetWindowContentScaleCallback(Pointer<GLFWwindow> window, GLFWwindowcontentscalefun callback) GLFWwindowcontentscalefun
! @brief Sets the window content scale callback for the specified window.
glfwSetWindowFocusCallback(Pointer<GLFWwindow> window, GLFWwindowfocusfun callback) GLFWwindowfocusfun
! @brief Sets the focus callback for the specified window.
glfwSetWindowIcon(Pointer<GLFWwindow> window, int count, Pointer<GLFWimage> images) → void
! @brief Sets the icon for the specified window.
glfwSetWindowIconifyCallback(Pointer<GLFWwindow> window, GLFWwindowiconifyfun callback) GLFWwindowiconifyfun
! @brief Sets the iconify callback for the specified window.
glfwSetWindowMaximizeCallback(Pointer<GLFWwindow> window, GLFWwindowmaximizefun callback) GLFWwindowmaximizefun
! @brief Sets the maximize callback for the specified window.
glfwSetWindowMonitor(Pointer<GLFWwindow> window, Pointer<GLFWmonitor> monitor, int xpos, int ypos, int width, int height, int refreshRate) → void
! @brief Sets the mode, monitor, video mode and placement of a window.
glfwSetWindowOpacity(Pointer<GLFWwindow> window, double opacity) → void
! @brief Sets the opacity of the whole window.
glfwSetWindowPos(Pointer<GLFWwindow> window, int xpos, int ypos) → void
! @brief Sets the position of the content area of the specified window.
glfwSetWindowPosCallback(Pointer<GLFWwindow> window, GLFWwindowposfun callback) GLFWwindowposfun
! @brief Sets the position callback for the specified window.
glfwSetWindowRefreshCallback(Pointer<GLFWwindow> window, GLFWwindowrefreshfun callback) GLFWwindowrefreshfun
! @brief Sets the refresh callback for the specified window.
glfwSetWindowShouldClose(Pointer<GLFWwindow> window, int value) → void
! @brief Sets the close flag of the specified window.
glfwSetWindowSize(Pointer<GLFWwindow> window, int width, int height) → void
! @brief Sets the size of the content area of the specified window.
glfwSetWindowSizeCallback(Pointer<GLFWwindow> window, GLFWwindowsizefun callback) GLFWwindowsizefun
! @brief Sets the size callback for the specified window.
glfwSetWindowSizeLimits(Pointer<GLFWwindow> window, int minwidth, int minheight, int maxwidth, int maxheight) → void
! @brief Sets the size limits of the specified window.
glfwSetWindowTitle(Pointer<GLFWwindow> window, String title) → void
! @brief Sets the title of the specified window.
glfwSetWindowUserPointer(Pointer<GLFWwindow> window, Pointer<Void> pointer) → void
! @brief Sets the user pointer of the specified window.
glfwShowWindow(Pointer<GLFWwindow> window) → void
! @brief Makes the specified window visible.
glfwSwapBuffers(Pointer<GLFWwindow> window) → void
! @brief Swaps the front and back buffers of the specified window.
glfwSwapInterval(int interval) → void
! @brief Sets the swap interval for the current context.
glfwTerminate() → void
! @brief Terminates the GLFW library.
glfwUpdateGamepadMappings(String string) int
! @brief Adds the specified SDL_GameControllerDB gamepad mappings.
glfwVulkanSupported() int
! @brief Returns whether the Vulkan loader and an ICD have been found.
glfwWaitEvents() → void
! @brief Waits until events are queued and processes them.
glfwWaitEventsTimeout(double timeout) → void
! @brief Waits with timeout until events are queued and processes them.
glfwWindowHint(int hint, int value) → void
! @brief Sets the specified window hint to the desired value.
glfwWindowHintString(int hint, String value) → void
! @brief Sets the specified window hint to the desired value.
glfwWindowShouldClose(Pointer<GLFWwindow> window) int
! @brief Checks the close flag of the specified window.

Typedefs

GLFWcharfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Uint32)>>
GLFWcharfunDart = void Function(Pointer<GLFWwindow>, int)
GLFWcharmodsfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Uint32, Int32)>>
GLFWcharmodsfunDart = void Function(Pointer<GLFWwindow>, int, int)
GLFWcursorenterfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32)>>
GLFWcursorenterfunDart = void Function(Pointer<GLFWwindow>, int)
GLFWcursorposfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Double, Double)>>
GLFWcursorposfunDart = void Function(Pointer<GLFWwindow>, double, double)
GLFWdropfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32, Pointer<Pointer<Utf8>>)>>
GLFWdropfunDart = void Function(Pointer<GLFWwindow>, int, Pointer<Pointer<Utf8>>)
GLFWerrorfun = Pointer<NativeFunction<Void Function(Int32, Pointer<Utf8>)>>
GLFWerrorfunDart = void Function(int, Pointer<Utf8>)
GLFWframebuffersizefun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32, Int32)>>
GLFWframebuffersizefunDart = void Function(Pointer<GLFWwindow>, int, int)
GLFWglproc = Pointer<NativeFunction<Void Function()>>
GLFWglprocDart = void Function()
GLFWjoystickfun = Pointer<NativeFunction<Void Function(Int32, Int32)>>
GLFWjoystickfunDart = void Function(int, int)
GLFWkeyfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32, Int32, Int32, Int32)>>
GLFWkeyfunDart = void Function(Pointer<GLFWwindow>, int, int, int, int)
GLFWmonitorfun = Pointer<NativeFunction<Void Function(Pointer<GLFWmonitor>, Int32)>>
GLFWmonitorfunDart = void Function(Pointer<GLFWmonitor>, int)
GLFWmousebuttonfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32, Int32, Int32)>>
GLFWmousebuttonfunDart = void Function(Pointer<GLFWwindow>, int, int, int)
GLFWscrollfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Double, Double)>>
GLFWscrollfunDart = void Function(Pointer<GLFWwindow>, double, double)
GLFWvkproc = Pointer<NativeFunction<Void Function()>>
GLFWvkprocDart = void Function()
GLFWwindowclosefun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>)>>
GLFWwindowclosefunDart = void Function(Pointer<GLFWwindow>)
GLFWwindowcontentscalefun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Float, Float)>>
GLFWwindowcontentscalefunDart = void Function(Pointer<GLFWwindow>, double, double)
GLFWwindowfocusfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32)>>
GLFWwindowfocusfunDart = void Function(Pointer<GLFWwindow>, int)
GLFWwindowiconifyfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32)>>
GLFWwindowiconifyfunDart = void Function(Pointer<GLFWwindow>, int)
GLFWwindowmaximizefun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32)>>
GLFWwindowmaximizefunDart = void Function(Pointer<GLFWwindow>, int)
GLFWwindowposfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32, Int32)>>
GLFWwindowposfunDart = void Function(Pointer<GLFWwindow>, int, int)
GLFWwindowrefreshfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>)>>
GLFWwindowrefreshfunDart = void Function(Pointer<GLFWwindow>)
GLFWwindowsizefun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32, Int32)>>
GLFWwindowsizefunDart = void Function(Pointer<GLFWwindow>, int, int)