Dear ImGui’s platform and renderer backends for GLFW, OpenGL 3 and OpenGL 2, for an app that runs its own loop.
The C++ API of Dear ImGui as it is bound to Python: the entries of the module imgui_bundle.imgui.backends, in the same order, with their C++ signatures and the headers’ comments. From the stubs: the functions excluded from the bindings, the typedefs and the macros are absent.
opengl3_init¶
<bindings for imgui_impl_opengl3.h
opengl3_shutdown¶
opengl3_new_frame¶
opengl3_render_draw_data¶
(Optional) Called by Init/NewFrame/Shutdown¶
opengl3_create_fonts_texture¶
opengl3_destroy_fonts_texture¶
opengl3_create_device_objects¶
opengl3_destroy_device_objects¶
opengl2_init¶
<bindings for imgui_impl_opengl2.h
opengl2_shutdown¶
opengl2_new_frame¶
opengl2_render_draw_data¶
Called by Init/NewFrame/Shutdown¶
opengl2_create_fonts_texture¶
opengl2_destroy_fonts_texture¶
opengl2_create_device_objects¶
opengl2_destroy_device_objects¶
glfw_init_for_opengl¶
<bindings for imgui_impl_glfw.h
glfw_init_for_vulkan¶
glfw_init_for_other¶
glfw_shutdown¶
glfw_new_frame¶
GLFW callbacks (installer)¶
When calling Init with ‘install_callbacks=True’: ImGui_ImplGlfw_InstallCallbacks() is called. GLFW callbacks will be installed for you. They will chain-call user’s previously installed callbacks, if any.
When calling Init with ‘install_callbacks=False’: GLFW callbacks won’t be installed. You will need to call individual function yourself from your own GLFW callbacks.
glfw_install_callbacks¶
glfw_restore_callbacks¶
glfw_window_focus_callback¶
Since 1.84
GLFW callbacks (individual callbacks to call if you didn’t install callbacks)
glfw_cursor_enter_callback¶
Since 1.84
glfw_cursor_pos_callback¶
Since 1.87