bindbc-cimgui 1.0.1

Minimal C Dear ImGUI+SDL test


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

BindBC-Cimgui

BetterC bindings from cimgui

This project has the implementations using BindBC-OpenGL and BindBC-SDL at the examples folder.

I tried my best to follow what @mdparker has been doing.

I made this binding with bindbc-generator with some additional things that cimgui needs, found at source/bindbc/cimgui/additional.d. The last easier dub packaged available version to use is DerelicImGui which is pretty old, so I made this repo that I'll be supporting for my game engine HipremeEngine;

The docking and master branch are supported right now, there is a switch available on additional.d called CIMGUI_VIEWPORT_BRANCH.

If you want to use the ImGui repo implementations, you can pass a callback argument to loadcimgui which receives a SharedLib which you can then take to link the symbols, they are on the example, just modify the switch on them which will be CIMGUI_USER_DEFINED_IMPLEMENTATION.

Version from ImGui supported right now:

v1.79

Screenshots:

Showing it working correctly Multiviewports!

Any PR's are welcome

Authors:
  • Hipreme
Dependencies:
bindbc-generate, bindbc-loader
Versions:
1.84.1 2021-Sep-10
1.0.1 2021-Aug-12
1.0.0 2021-Aug-12
Show all 3 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 52 downloads total

Score:
1.1
Short URL:
bindbc-cimgui.dub.pm