Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

imgui.backends (C++)

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)

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

glfw_mouse_button_callback

glfw_scroll_callback

glfw_key_callback

glfw_char_callback