MCPcopy Create free account
hub / github.com/RIPmr/MoonEngine / ImGui_ImplOpenGL3_RenderDrawData

Function ImGui_ImplOpenGL3_RenderDrawData

ToyBox/imgui/imgui_impl_opengl3.cpp:297–430  ·  view source on GitHub ↗

OpenGL3 Render function. (this used to be set in io.RenderDrawListsFn and called by ImGui::Render(), but you can now call this directly from your main loop) Note that this implementation is little overcomplicated because we are saving/setting up/restoring every OpenGL state explicitly, in order to be able to run within any OpenGL engine that doesn't do so.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

mainFunction · 0.85

Calls 1

Tested by

no test coverage detected