Mar 16, 2023
ImGui itself does not provide a C API. It seems that imgui .net is based on cimgui, so will follow the same approach.
Please consider that the only standard for foreign function interface (FFI) is the C API. In other words, it's natural that C++ cannot communicate directly. To force communication, a large amount of glue code would likely be necessary. I am entirely negative about that approach.