Open ScottKane opened 3 years ago
I'm not able to dig through this much code at the moment, but @nogginbops shared an OpenGL-based renderer for ImGui.NET one of the previous times this came up. I'd suggest following along with what he has done there. Even if it's not using the exact same OpenGL and windowing library, it should be helpful as a reference.
By the way, I'm assuming that you are not trying to take advantage of the multi-window, multi-viewport features in the docking branch. While they are fully supported here, it is NOT easy to use them from OpenGL. If you're interested in using multiple viewports, I'd suggest using a different graphics API.
I'm currently working with Silk.NET, they have extensions to use ImGui.NET with their bindings based on your ImGuiController, I think they based it on the Tkinter version. I'm using an updated version from a PR (https://github.com/Ultz/SilkExtensions/pull/3). Here is what I'm working with (commented out my best guess at what I need to do based on your docking branch):
Is there any chance you can give some advice on how to get this working? Thanks