-
Interface Summary Interface Description GLFWCharCallbackI Instances of this interface may be passed to theSetCharCallbackmethod.GLFWCharModsCallbackI Instances of this interface may be passed to theSetCharModsCallbackmethod.GLFWCursorEnterCallbackI Instances of this interface may be passed to theSetCursorEnterCallbackmethod.GLFWCursorPosCallbackI Instances of this interface may be passed to theSetCursorPosCallbackmethod.GLFWDropCallbackI Instances of this interface may be passed to theSetDropCallbackmethod.GLFWErrorCallbackI Instances of this interface may be passed to theSetErrorCallbackmethod.GLFWFramebufferSizeCallbackI Instances of this interface may be passed to theSetFramebufferSizeCallbackmethod.GLFWJoystickCallbackI Instances of this interface may be passed to theSetJoystickCallbackmethod.GLFWKeyCallbackI Instances of this interface may be passed to theSetKeyCallbackmethod.GLFWMonitorCallbackI Instances of this interface may be passed to theSetMonitorCallbackmethod.GLFWMouseButtonCallbackI Instances of this interface may be passed to theSetMouseButtonCallbackmethod.GLFWScrollCallbackI Instances of this interface may be passed to theSetScrollCallbackmethod.GLFWWindowCloseCallbackI Instances of this interface may be passed to theSetWindowCloseCallbackmethod.GLFWWindowFocusCallbackI Instances of this interface may be passed to theSetWindowFocusCallbackmethod.GLFWWindowIconifyCallbackI Instances of this interface may be passed to theSetWindowIconifyCallbackmethod.GLFWWindowPosCallbackI Instances of this interface may be passed to theSetWindowPosCallbackmethod.GLFWWindowRefreshCallbackI Instances of this interface may be passed to theSetWindowRefreshCallbackmethod.GLFWWindowSizeCallbackI Instances of this interface may be passed to theSetWindowSizeCallbackmethod. -
Class Summary Class Description Callbacks Utility class for GLFW callbacks.GLFW Native bindings to the GLFW library.GLFW.Functions Contains the function pointers loaded from the glfwSharedLibrary.GLFWCharCallback Instances of this class may be passed to theSetCharCallbackmethod.GLFWCharModsCallback Instances of this class may be passed to theSetCharModsCallbackmethod.GLFWCursorEnterCallback Instances of this class may be passed to theSetCursorEnterCallbackmethod.GLFWCursorPosCallback Instances of this class may be passed to theSetCursorPosCallbackmethod.GLFWDropCallback Instances of this class may be passed to theSetDropCallbackmethod.GLFWErrorCallback Instances of this class may be passed to theSetErrorCallbackmethod.GLFWFramebufferSizeCallback Instances of this class may be passed to theSetFramebufferSizeCallbackmethod.GLFWGammaRamp Describes the gamma ramp for a monitor.GLFWGammaRamp.Buffer An array ofGLFWGammaRampstructs.GLFWImage Image data.GLFWImage.Buffer An array ofGLFWImagestructs.GLFWJoystickCallback Instances of this class may be passed to theSetJoystickCallbackmethod.GLFWKeyCallback Instances of this class may be passed to theSetKeyCallbackmethod.GLFWMonitorCallback Instances of this class may be passed to theSetMonitorCallbackmethod.GLFWMouseButtonCallback Instances of this class may be passed to theSetMouseButtonCallbackmethod.GLFWNativeCocoa Native bindings to the GLFW library's Cocoa native access functions.GLFWNativeCocoa.Functions Contains the function pointers loaded fromGLFW.getLibrary().GLFWNativeEGL Native bindings to the GLFW library's EGL native access functions.GLFWNativeEGL.Functions Contains the function pointers loaded fromGLFW.getLibrary().GLFWNativeGLX Native bindings to the GLFW library's GLX native access functions.GLFWNativeGLX.Functions Contains the function pointers loaded fromGLFW.getLibrary().GLFWNativeNSGL Native bindings to the GLFW library's NSGL native access functions.GLFWNativeNSGL.Functions Contains the function pointers loaded fromGLFW.getLibrary().GLFWNativeWGL Native bindings to the GLFW library's WGL native access functions.GLFWNativeWGL.Functions Contains the function pointers loaded fromGLFW.getLibrary().GLFWNativeWin32 Native bindings to the GLFW library's Win32 native access functions.GLFWNativeWin32.Functions Contains the function pointers loaded fromGLFW.getLibrary().GLFWNativeX11 Native bindings to the GLFW library's X11 native access functions.GLFWNativeX11.Functions Contains the function pointers loaded fromGLFW.getLibrary().GLFWScrollCallback Instances of this class may be passed to theSetScrollCallbackmethod.GLFWVidMode Describes a single video mode.GLFWVidMode.Buffer An array ofGLFWVidModestructs.GLFWVulkan Native bindings to the GLFW library's Vulkan functions.GLFWVulkan.Functions Contains the function pointers loaded fromGLFW.getLibrary().GLFWWindowCloseCallback Instances of this class may be passed to theSetWindowCloseCallbackmethod.GLFWWindowFocusCallback Instances of this class may be passed to theSetWindowFocusCallbackmethod.GLFWWindowIconifyCallback Instances of this class may be passed to theSetWindowIconifyCallbackmethod.GLFWWindowPosCallback Instances of this class may be passed to theSetWindowPosCallbackmethod.GLFWWindowRefreshCallback Instances of this class may be passed to theSetWindowRefreshCallbackmethod.GLFWWindowSizeCallback Instances of this class may be passed to theSetWindowSizeCallbackmethod.
Package org.lwjgl.glfw Description
Contains bindings to the GLFW library.
GLFW comes with extensive documentation, which you can read online here. The Frequently Asked Questions are also useful.
On Mac OS X the JVM must be started with the -XstartOnFirstThread argument for GLFW to work. This is necessary because most GLFW functions must
be called on the main thread and the Cocoa API on OS X requires that thread to be the first thread in the process. For this reason, on-screen GLFW
windows and the GLFW event loop are incompatible with other window toolkits (such as AWT/Swing or JavaFX) on OS X. Off-screen GLFW windows can be used
with other window toolkits, but only if the window toolkit is initialized before GLFW.