by zach43 · 7y ago · 0 comments
https://github.com/ocornut/imgui/blob/master/examples/exampl...
It seems like there is a lot of setup / configuration code necessary to wire up Imgui with the graphics rendering back-end.
Note that I haven't used Imgui in a real-world project yet. Does anyone know of a better way to set-up Imgui that does't need all this configuration code?
There's literally about ~10 lines of specific imgui code in there other than the 35 lines of example code in the middle of the main function.
Your problem is perhaps that you don't want to engage in actually reading that code.