GLFW is a free, Open Source, multi-platform library for opening a window, creating an OpenGL context and managing input. It is easy to integrate into existing applications and does not lay claim to the main loop. GLFW is written in C and has native support for Windows, Mac OS X and many Unix-like systems using the X Window System, such as Linux and FreeBSD. GLFW is licensed under the zlib/libpng license.
What is GLFW?
GLFW is an Open Source, multi-platform library for creating windows with OpenGL or OpenGL ES contexts and managing input. It is easy to integrate into existing applications and does not lay claim to the main loop.
GLFW is written in C and has native support for Windows, Mac OS X and many Unix-like systems using the X Window System, such as Linux and FreeBSD.
GLFW is licensed under the zlib/libpng license.
Features
- Easy to use API in the style of the OpenGL APIs
- Gives you a window and OpenGL context with two function calls
- Explicit support for MSAA and OpenGL 3.2+, including profiles and flags
- Keyboard, mouse, joystick and time input
- Input can be either polled or delivered via callbacks
- Basic Unicode character input
- Supports both static and dynamic linking
- Open Source with a liberal OSI-certified license
- Makefiles or project files for most popular C/C++ compilers
- Examples and comprehensive documentation
Documentation
- The documentation contains a tutorial, guides on the different areas of the API, compilation and linking guides, a reference manual and a guide for migrating from older versions of the API.