Home

Awesome

BindBC Imgui

D binding to CImgui with additional OpenGL and SDL backends

Adding to your project

To add bindbc-imgui to your project run

dub add bindbc-imgui

bindbc-imgui will currently build it's own dependencies. We've found that distributing deps for all possible targets too onerous, and so instead now depend on an existing toolchain and tools. That said, we're open to contributions for doing this in a more traditional way across platforms, but we're experiementing with this to make development of inochi-creator (and it's related projects) easier.

Availible Configs

These configs have been developed to ease the use of this project in inochi-creator. Happy to accept PRs for additional configs with alternate goals. But we'd like to avoid (if this works how we're hoping) attempting to distribute binaries within our git source going forward.

static_dynamicCRT

Statically linked cimgui, dynamically linked C/C++ runtime libraries.

static_staticCRT

Statically linked cimgui, statically linked C/C++ runtime libraries.

dynamic_dynamicCRT

Dynamically linked cimgui, dynamically linked C/C++ runtime libraries.

dynamic_staticCRT

Dynamically linked cimgui, statically linked C/C++ runtime libraries.

Platform Dependencies

Windows

Dependencies

Linux

Dependencies

Mac

Notes

Dependencies

Using backends

To select backends use the versions directive in your dub package file Current backends are: USE_GL, USE_SDL2 (depends on bindbc-sdl) and USE_GLFW (depends on bindbc-glfw).

Running examples

To run the examples go in to the examples directory and compile the example in question.