ImGuiImplSDL2 rewritten for Java.
Supported platforms: Windows x64, Linux x64, MacOS x64 and arm64.
This library is meant to be used with LWJGL, SpaiR's binding of ImGui, and libsdl4j using it's OpenGL context.
Rendering on the SDL GL context works with ImGuiImplGl3, however, inputs won't work as the ImGui bindings for Java only have a GLFW binding. This library solves that as it is a Java version of the original ImGuiImplSDL.
See the example in src/test/java/Main.java
for information on how to use the library.
Video demonstration:
Desktop.2025.01.21.-.13.51.47.09.mp4
To build:
Windows: .\gradlew fatJar
Linux and MacOS: ./gradlew fatJar
Credits:
ImGuiImplSDL (Original)
ImGui (Original)
ImGui (Java binding by SpaiR)
libsdl4j
JNA
There may be bugs since this is a Java rewrite of the original library.