ImGui.NET
ImGui.NET copied to clipboard
ImGuiConfigFlags.ViewportsEnable not working
When I enable this flag I'm not able to drag windows out of my main application window. Using the ImGui demo window, this flag is disabled under Configuration->Configuration and auto disabled if you try to turn it on.
Is there something more I should be doing than ImGui.GetIO().ConfigFlags |= ImGuiConfigFlags.ViewportsEnable;
For the viewport feature to be enabled, the rendering code needs to be updated with support for it, because it needs to know how to do things like create multiple OS windows and render different things to each of them. The Veldrid example project in the docking branch here has been updated with support for multiple viewports, but it hasn't yet been promoted to the master branch. It is definitely in a state that can be tested and used, but I'm not happy with how I have it organized at the moment -- it should probably be cleaned up a bit before it moves over to the main branch.
Note that the MonoGame example project and renderer hasn't been updated in that branch, and likely can't be unless there is a lot of functionality in MonoGame that I'm not aware of.
Aso regarding what is commented in #236, is the multiple viewport feature expected to work in the future with opengl? Just to know if it is achievable or being worked on or not. Thanks in advanced.
@LuisMerinoP, any update or news about it? Thanks!
Please add multi viewport support