CatDogEngine icon indicating copy to clipboard operation
CatDogEngine copied to clipboard

[Editor] ImGui multiple viewports

Open T-rvw opened this issue 2 years ago • 0 comments
trafficstars

In general, it is a two direction conversion feature about ImGuiWindow <-> Window.

  • ImGuiWindow
    • No hwnd. Just rendered quads.
    • No standalone SwapChain/RenderTarget. Shared by all ImGuiWindows.
    • Hard to process input preciously. SceneView logic is a mass.
  • Window
    • Sure has hwnd.
    • Sure has standalone SwapChain/RenderTarget
    • Input logic is easy to handle. But take care focus/device get/lose cases.

T-rvw avatar Jan 05 '23 14:01 T-rvw