Skip to content

Bindings

omar edited this page Sep 10, 2020 · 237 revisions

Language Bindings

NB: those bindings may be more or less maintained, more or less close to the spirit of original API. People who create language bindings sometimes haven't used the C++ API themselves. ImGui was designed for C++ and some of the subtleties may be lost in translation with other languages. If your language supports it, I would suggest replicating the function overloading and default parameters used in the original, else the API may be harder to use. In doubt, always check the original C++ version first!

Language Project
Beef imgui-beef: Beef wrapper library for Dear ImGui
https://github.com/qzole/imgui-beef
C cimgui: auto-generated c-api wrapper for Dear ImGui
**(json/lua output can be used to automatically generate other bindings)**
https://github.com/cimgui/cimgui
C#/.Net ImGui.NET: An ImGui wrapper for .NET Core
https://github.com/mellinoe/ImGui.NET
ChaiScript imgui-chaiscript: ChaiScript bindings for ImGui
https://github.com/JuJuBoSc/imgui-chaiscript
CovScript covscript-imgui: ImGui Extension for CovScript (Covariant)
https://github.com/covscript/covscript-imgui
D DerelictImgui: Dynamic bindings to cimgui for the D programming language
https://github.com/Extrawurst/DerelictImgui
Go imgui-go: Go wrapper library for "Dear ImGui"
https://github.com/inkyblackness/imgui-go
Haskell imgui-haskell: Haskell bindings for Dear ImGui
https://github.com/dbousamra/imgui-haskell
Haxe/hxcpp linc_imgui: binding for imgui
https://github.com/Aidan63/linc_imgui
Haxe/Heaps hlimgui: Heaps game engine binding for Dear ImGui
https://github.com/haddock7/hlimgui
Java jimgui: Pure Java binding for dear imgui
https://github.com/ice1000/jimgui
imgui-java: JNI based binding for Dear ImGui
https://github.com/SpaiR/imgui-java
JavaScript imgui-js: JavaScript bindings for Dear ImGui using Emscripten and TypeScript
https://github.com/flyover/imgui-js + also see web demo
Julia CImGui.jl: Julia wrapper for cimgui
https://github.com/Gnimuc/CImGui.jL
Kotlin kotlin-imgui: Kotlin bindings for Dear ImGui
https://github.com/Dominaezzz/kotlin-imgui
Lua LuaJIT-ImGui: LuaJIT ffi binding for imgui and implementations
https://github.com/sonoro1234/LuaJIT-ImGui
imgui_lua_bindings: imgui bindings for lua (also see LÖVE binding)
https://github.com/patrickriordan/imgui_lua_bindings
lua-ffi-bindings: FFI bindings for LuaJIT
https://github.com/thenumbernine/lua-ffi-bindings
sol2_imgui_bindings: ImGui bindings for Sol2
https://github.com/MSeys/sol2_ImGui_Bindings
Nim nim-imgui: cimgui bindings for Nim
https://github.com/nimgl/imgui
Odin odin-imgui: Odin binding for Dear ImGui
https://github.com/ThisDrunkDane/odin-imgui
Pascal imgui-pas: pascal bindings for imgui
https://github.com/dpethes/imgui-pas
PureBasic pb-cimgui: PureBasic interface to CImGui Wrapper
https://github.com/hippyau/pb-cimgui
Python pyimgui: Cython-based Python bindings for dear imgui
https://github.com/swistakm/pyimgui
DearPyGui: A Python GUI framework built from Dear Imgui
https://github.com/hoffstadt/DearPyGui
Bimpy: Bundled imgui for python
https://github.com/podgorskiy/bimpy
CyImGui: Python bindings for ImGui using Cython. (obsolete)
https://github.com/chromy/cyimgui
Ogre-imgui:
https://github.com/OGRECave/ogre-imgui
deargui: Python bindings for dear imgui, generated with clang and pybind11
https://github.com/cammm/deargui
Ruby ruby-imgui: Yet another ImGui wrapper for Ruby
https://github.com/vaiorabbit/ruby-imgui
Rust imgui-rs: Rust bindings for ImGui
https://github.com/Gekkio/imgui-rs
imgui-rust: Alternative (personal) imgui rust bindings
https://github.com/nsf/imgui-rust
ImStr Patch by @bitshifter to use string-range more commonly instead of zero-terminated strings.
https://github.com/ocornut/imgui/pull/683
rust-imgui-opengl-renderer
https://github.com/michaelfairley/rust-imgui-opengl-renderer
Swift SwiftGui: an experimental API inspired by SwiftUI declarative code, using Dear ImGui and running on OSX and iOS.
https://github.com/erickjung/SwiftGUI
SwiftImGui: Swift wrapper around Dear imgui for macOS, iOS and linux
https://github.com/ctreffs/SwiftImGui
Swift-imgui: Dear ImGui Swift Wrapper API for macOS and iOS
https://github.com/mnmly/Swift-imgui

Framework/Engine Bindings/Backends

Main repository include examples for DirectX9, DirectX10, DirectX11, DirectX12, Metal, OpenGL2/3, Vulkan, iOS, Allegro 5, and Marmalade, using frameworks such as Glfw, SDL2, Win32, Cocoa.
https://github.com/ocornut/imgui/tree/master/examples

Framework Project
Android Unmerged PR: #421 (old example design, should not be needed)
AGS / Adventure Game Studio agsimgui:
https://github.com/ericoporto/agsimgui
Amethyst amethyst-imgui:
https://github.com/amethyst/amethyst-imgui
bsf bsfimgui:
https://github.com/pgruenbacher/bsfImgui
Cinder Cinder-ImGui:
https://github.com/cinder/Cinder/blob/master/include/cinder/CinderImGui.h
Cocos2d-x imguix:
https://github.com/c0i/imguix
cocos2dx-imgui:
https://github.com/Mjarkiew/cocos2dx-imgui, https://github.com/Xrysnow/cocos2d-x-imgui and #551
ImGuiEXT for EGNX:
https://github.com/c4games/engine-x/tree/master/extensions/ImGuiEXT
Diligent Engine DiligentTools:
DiligentTools, example
Ebiten ebiten-imgui:
https://github.com/gabstv/ebiten-imgui
Flexium FlexGUI:
https://github.com/DXsmiley/FlexGUI
GML / GameMaker Studio 2 ImGuiGML:
https://marketplace.yoyogames.com/assets/6221/imguigml
Godot imgui-godot:
https://github.com/pkdawson/imgui-godot
GLEQ Event processing:
#3034
GTK3 + OpenGL3 imgui_impl_gtk3:
Unmerged PR: #2032
Irrlicht Engine IrrIMGUI:
https://github.com/ZahlGraf/IrrIMGUI
LÖVE+LUA love-imgui:
https://github.com/slages/love-imgui
love-imgui (fork):
https://github.com/MikuAuahDark/love-imgui
LuaJIT-ImGui (ffi):
https://github.com/sonoro1234/LuaJIT-ImGui
Magnum magnum-integration:
https://github.com/mosra/magnum-integration, doc, example
Monogame ImGui.NET for MonoGame:
https://github.com/roy-t/ImGui.NET
NanoRT imgui_impl_raytrace:
https://github.com/syoyo/imgui/tree/nanort/examples/raytrace_example
nCine nCine Out-of-the-box integration:
https://github.com/nCine/nCine and example 1, example 2
Nim Game Lib NimGL:
https://github.com/nimgl/nimgl
Ogre ogre-imgui:
https://github.com/OGRECave/ogre-imgui
openFrameworks ofxImGui:
https://github.com/jvcleave/ofxImGui
OpenSceneGraph/OSG imgui-osg:
https://github.com/Tordan/imgui-osg and older gist: https://gist.github.com/fulezi/d2442ca7626bf270226014501357042c
Orx ImGuiOrx:
https://github.com/thegwydd/ImGuiOrx (was #1843)
Photoshop Recipe: Custom UI for plug-ins using Dear ImGui:
https://sonictk.github.io/ps_cpp_recipes/#recipe:customuiforplug-insusingimgui
https://github.com/sonictk/ps_cpp_recipes
px_render px_render_imgui.h:
https://github.com/pplux/px/blob/master/px_render_imgui.h (was #1935)
Qt imgui-qt3d:
https://github.com/alpqr/imgui-qt3d
QOpenGLWindow (qtimgui):
https://github.com/seanchas116/qtimgui
QtDirect3D:
https://github.com/giladreich/QtDirect3D, qt6: https://github.com/alpqr/qvk6/tree/imgui/examples/rhi/imguidemo
SDL_Renderer imgui_sdl:
https://github.com/Tyyppi77/imgui_sdl
IMPORTANT: This is a software rendering back-end for SDL_Renderer. SDL_Renderer is an old component of SDL aimed at replacing graphics API, in my opinion it is a useless dead-end and no one should use SDL_Renderer. Even just using ImGui's ImDrawList + native OGL/DX back-ends will get you closer to something useful. Consider using SFML or openFrameworks or custom renderer instead of SDL + SDL_Renderer. (Clarification: SDL itself is good, we're talkig about SDL_Renderer here!)
SFML imgui-sfml:
https://github.com/eliasdaler/imgui-sfml
Sokol sokol-samples:
https://github.com/floooh/sokol-samples/blob/master/glfw/imgui-glfw.cc
Unity dear-imgui-unity:
https://github.com/realgamessoftware/dear-imgui-unity
Unreal Engine 4 UnrealImGui:
https://github.com/segross/UnrealImGui
UnrealEngine_ImGui:
https://github.com/sronsse/UnrealEngine_ImGui
vtk imgui-vtk:
https://github.com/trlsmax/imgui-vtk
Win32 (native) example example_win32_opengl3:
Unmerged PR: #2772, #281 (old example design)
Win32 GDI renderer imgui_impl_gdi:
Unmerged PR: #2724
WxWidgets wxImGuiCanvas.h:
https://github.com/ocornut/imgui/issues/1029

Miscellaneous

Purpose Project
Software renderer imgui_software_renderer
https://github.com/emilk/imgui_software_renderer
Software renderer ImFastRast
https://github.com/malamanteau/ImFastRast
Software renderer ImSoft
https://github.com/LAK132/ImSoft
ImGui on Arduino example ImDuino
https://github.com/LAK132/ImDuino

Port/rewrites

Language Project
Kotlin dear jvm imgui: full JVM port/rewrite
https://github.com/kotlin-graphics/imgui

Clone this wiki locally