Lightweight Java Game Library
|This article relies too much on references to primary sources. (August 2015)|
|Stable release||3.0.0a (27 April 2015[±])|
|Preview release||3.0.0b (2 August 2015[±])|
|Written in||Java, C, Kotlin|
|Operating system||Windows, Linux, OS X|
|Type||Free computer library|
LWJGL exposes high performance cross-platform libraries commonly used in developing video games and multimedia titles, such as OpenGL (Open Graphics Library), OpenAL (Open Audio Library) and OpenCL (Open Computing Language). It further provides access to controllers such as gamepads, steering wheels and joysticks in a platform-neutral way.
The primary goal of the project is to provide a way for Java developers to get access to resources that are otherwise unavailable or poorly implemented on the existing Java platform. The main philosophy is to expose underlying technology as a thin wrapper, thus creating a simple API. It is also the basis of many high-level Java game engines and libraries, such as LibGDX or the JMonkeyEngine.
On 13 November 2014 version 3 was announced, which was released in alpha version on 27 April 2015 and is a complete rewrite of LWJGL.Many new bindings, including GLFW, EGL and Objective-C, were added. Support for Oculus Rift development was also added with LibOVR bindings.
|This section requires expansion. (July 2015)|
The library accesses native C code through the Java Native Interface (JNI). Bindings to each of the native libraries exist as different modules so developers can make custom builds with only the things they need in a certain program.
|GLFW||Window management library needed for handling an OpenGL context.|
|OpenGL||3D graphics specification implemented by most GPU vendors.||Most extensions supported, but less popular ones will be added on request.|
|OpenAL||Three-dimensional audio API.||ALC and other extensions are supported.|
|OpenCL||API for cross-platform parallel computing.|
|OpenGL ES||OpenGL for embedded systems like mobile phones, tablets or consoles.|
|Vulkan||Upcoming, as of August 2015[update].|
|LibOVR||API of the Oculus Rift.||As of July 2015[update] still in beta status.|
|Objective-C||Interface to Apple's Cocoa API.|
|STB||Lightweight single-file library for loading images, sounds and fonts.|
|libffi||Library for calling generic native functions.|
|jemalloc||Low-level memory management.|
- Java OpenGL, another wrapper library that allows OpenGL to be used in the Java programming language
- JMonkeyEngine, game engine using LWJGL
- Minecraft, popular game using LWJGL
- LibGDX, game-development application framework using LWJGL
- "LWJGL/lwjgl3". GitHub. Retrieved 14 August 2015.
- "lwjgl3/doc – Generator". GitHub. 11 August 2015. Retrieved 30 August 2015.
- "LWJGL Website". Retrieved 14 August 2015.
- "LWJGL Wiki". GitHub. Retrieved 2 June 2015.
- Tsakpinis, Ioannis (13 November 2014). "Welcome to LWJGL 3". LWJGL Blog.
- "LWJGL 3 Roadmap". GitHub. Retrieved 2 June 2015.
- Tsakpinis, Ioannis (27 April 2015). "LWJGL 3.0.0a released". LWJGL Blog.
- "Bindings FAQ". GitHub. 27 December 2014. Retrieved 27 July 2015.
- "libGDX github page". GitHub. Retrieved 2 June 2015.
- Official website
- LWJGL on GitHub
- Lightweight Java Game Library on SourceForge.net (old repository, up to 2.9.3)
- lwjgl on Stack Overflow