Hmm, this is a strange approach, in fact, the Panda3D API is used as a layer between the rendering commands. This is not canonical integration, it requires this kind of:
However, this is not possible with this imgui_bundle because the window management and rendering operations have been combined.
Then I switched to C++, and I managed to draw imgui. I used the official imgui_impl_win32 and imgui_impl_opengl3 backend from the developers for Windows. I guess there’s no problem developing a module for both python (pyd) and C++(lib). It turned out that there are no difficulties in integrating the Im Gui into Panda3D. Here’s the proof.
