/odin-imgui

Odin binding for Dear ImGui

Primary LanguageOdinMIT LicenseMIT

odin-imgui

This is an odin wrapper for dear imgui v1.82 (Generated from the auto-generated cimgui).

It contains generated wrappers as well as handwritten ones to make it better fit with the odin language. It will also contain extra utility functions that are not present in cimgui.

scrshot

You can download the latest release with pre-built cimgui binaries here.

Examples

You can find examples of setting up odin-imgui using the provided implementations inside the examples folder, current examples exists;

Done:

  • SDL with OpenGL 4.5

WIP:

  • SDL with D3D11

Implementations

Implementations are reusable bits of code using popular odin libraries/bidings, inside the impl folder there currently are;

Notes:

  • Most functions have been wrapped or bound, those missing will either be added by the maintainer over time or by PR (PRs VERY WELCOME)

Building cimgui

If you want to build cimgui yourself instead of using the binaries that exist in the repo, you can just call make cimgui from a command prompt that has cl and link in their path.