GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan development on the desktop. It provides a simple API for creating windows, contexts and surfaces, receiving input and events. Gives you a window and OpenGL context with just two function calls. Support for OpenGL, OpenGL ES, Vulkan and related options, flags and extensions. Support for multiple windows, multiple monitors, high-DPI and gamma ramps. Support for keyboard, mouse, gamepad, time and window event input, via polling or callbacks. Comes with a tutorial, guides and reference documentation, examples and test programs. Open Source with an OSI-certified license allowing commercial use. Access to native objects and compile-time options for platform specific features. Community-maintained bindings for many different languages.
Features
- Multi-platform library for OpenGL, OpenGL ES and Vulkan application development
- It supports Windows, macOS, X11 and Wayland
- GLFW is written in C
- Simple, platform-independent API for creating windows
- Initialization, error handling and high-level design
- Can be used for enumerating and working with monitors and video modes