4 ms·
All Dear ImGUI does is generate arrays of vertices + texture coordinates. That's it. It doesn't support any particular graphics API. There are examples in the r
by greggman3 6y ago
All Dear ImGUI does is generate arrays of vertices + texture coordinates. That's it. It doesn't support any particular graphics API. There are examples in the repo but they are just that, examples.
If you want to use it in OpenGL 1.0 it shouldn't take you more than a few minutes.
- account42 6y agoIt definitely does come with backends for various APIs: https://github.com/ocornut/imgui/tree/master/backends https://github.com/ocornut/imgui/tree/master/backends
- app4soft 6y ago> It definitely does come with backends for various APIs: And there are NO imgui_impl_opengl1.cpp & imgui_impl_opengl1.h, only next: ... imgui_impl_opengl2.cpp imgui_impl_opengl2.h imgui_impl_opengl3.cpp imgui_impl_opengl3.h ... UPD: Some say[0] that imgui_impl_opengl2.cpp really is imgui_impl_opengl1.cpp: > imgui_impl_opengl2.cpp is actually misnamed and should be imgui_impl_opengl1.cpp. [0] https://discourse.dearimgui.org/t/missing-glactivetexture-call/409 https://discourse.dearimgui.org/t/missing-glactivetexture-ca...
- greggman3 6y agoThose are examples. They are not Dear ImGUI. Dear ImGUI is 2 files, that's it. The rest is just examples of how to integrate it. If you can't figure out hot to draw a list of vertices with texture coordinates in any API then you probably aren't the target for Dear ImGUI