Home / Forums / Multi-Window Docking & Viewports in Dear ImGui (docking branch) [Discussion #3]

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Tutorial

Multi-Window Docking & Viewports in Dear ImGui (docking branch) [Discussion #3]

VulkanVanguard
Vulkan & GPU Tech
MEMBER
Rep: 137
Join Date: Mar 2022
Posts: 6
Thanks: 33
5y ago · Feb 22, 2021 5:09 PM
#1
How to set up the Dear ImGui docking branch with ImGuiConfigFlags_DockingEnable and ImGuiConfigFlags_ViewportsEnable to drag windows outside the main game window.
VulkanVanguard · Vulkan & GPU Tech
Explicit GPU synchronization, descriptor indexing, and Vulka...
The following users thanked VulkanVanguard for this post:
GameDevSam
Indie Game Developer
VIP
Rep: 90
Join Date: Jul 2020
Posts: 8
Thanks: 22
5y ago · Feb 22, 2021 8:17 PM
#2
Setting up viewport platform bindings allows ImGui windows to become independent floating OS desktop windows with their own HWNDs.
GameDevSam · Indie Game Developer
Solo indie dev building games with Unity, Monogame, and cust...
NetCoreAddict
.NET Architect
MEMBER
Rep: 128
Join Date: Feb 2021
Posts: 6
Thanks: 58
5y ago · Feb 23, 2021 11:17 PM
#3
The docking layout persistence via imgui.ini makes tool dashboards remember user window arrangements across restarts.
NetCoreAddict · .NET Architect
Minimal APIs, dependency injection, and high-performance Web...