This project aims to generate go wrapper for Dear ImGui.
It comes with a default backend with GLFW 3.3 and OpenGL 3.2.
It works on macOS(arm64/x86), windows(x64), Arch Linux/KDE and Fedora Workstation 36, idealy other linux GUI should works but I don't have a linux machine to test it. Check out examples
, cd in and go run .
.
/cmd/codegen
).imgui_internal.h
, Internal
prefix is added.Field
Currently most of the functions are generated, except memory related stuff (eg. memory allocator, storage management, etc...). If you find any function is missing, report an issue.
Install GNU make and run make
to re-generate bunding.
To update to the latest version of dependencies, run make update
.
After doing this, commit changes and navigate to GitHub.
In Actions tab, manually trigger workflows for each platform.
cimgui/
directory holds C binding for C++ Dear ImGui librariescimgui/{package_name}_templates
and generates all necessary GO/C codelibs/
contains pre-built shared libraries. cimgui.go
includes and uses to decrease building time.