You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: imgui.h
+13-13
Original file line number
Diff line number
Diff line change
@@ -1090,11 +1090,11 @@ namespace ImGui
1090
1090
// (Optional) Platform/OS interface for multi-viewport support
1091
1091
// Read comments around the ImGuiPlatformIO structure for more details.
1092
1092
// Note: You may use GetWindowViewport() to get the current viewport of the current window.
1093
-
IMGUI_API voidUpdatePlatformWindows();// call in main loop. will call CreateWindow/ResizeWindow/etc. platform functions for each secondary viewport, and DestroyWindow for each inactive viewport.
1094
-
IMGUI_API voidRenderPlatformWindowsDefault(void* platform_render_arg = NULL, void* renderer_render_arg = NULL); // call in main loop. will call RenderWindow/SwapBuffers platform functions for each secondary viewport which doesn't have the ImGuiViewportFlags_Minimized flag set. May be reimplemented by user for custom rendering needs.
1095
-
IMGUI_API voidDestroyPlatformWindows();// call DestroyWindow platform functions for all viewports. call from backend Shutdown() if you need to close platform windows before imgui shutdown. otherwise will be called by DestroyContext().
1096
-
IMGUI_API ImGuiViewport* FindViewportByID(ImGuiID id);// this is a helper for backends.
1097
-
IMGUI_API ImGuiViewport* FindViewportByPlatformHandle(void* platform_handle);// this is a helper for backends. the type platform_handle is decided by the backend (e.g. HWND, MyWindow*, GLFWwindow* etc.)
1093
+
IMGUI_API voidUpdatePlatformWindows(); // call in main loop. will call CreateWindow/ResizeWindow/etc. platform functions for each secondary viewport, and DestroyWindow for each inactive viewport.
1094
+
IMGUI_API voidRenderPlatformWindowsDefault(void* platform_render_arg = NULL, void* renderer_render_arg = NULL); // call in main loop. will call RenderWindow/SwapBuffers platform functions for each secondary viewport which doesn't have the ImGuiViewportFlags_Minimized flag set. May be reimplemented by user for custom rendering needs.
1095
+
IMGUI_API voidDestroyPlatformWindows(); // call DestroyWindow platform functions for all viewports. call from backend Shutdown() if you need to close platform windows before imgui shutdown. otherwise will be called by DestroyContext().
1096
+
IMGUI_API ImGuiViewport* FindViewportByID(ImGuiID id); // this is a helper for backends.
1097
+
IMGUI_API ImGuiViewport* FindViewportByPlatformHandle(void* platform_handle); // this is a helper for backends. the type platform_handle is decided by the backend (e.g. HWND, MyWindow*, GLFWwindow* etc.)
0 commit comments