How to setup multi-view port support #4112
Replies: 1 comment
-
I'm assuming you're asking in relation to this project. It's not immediately apparent to me whether you're using the provided backends or a custom one. It seems like you're using a built-in one but you started writing a custom one? Built-in backendsIf you're using the built-in backends, I think you should just need to enable it in io.addConfigFlags(ImGuiConfigFlags.ViewportsEnable); // Enable Multi-Viewport / Platform Windows you might also want to add io.addConfigFlags(ImGuiConfigFlags.DockingEnable); // Enable Docking to enable docking. Custom backendsIf you're making your own backend, I highly recommend writing a backend without multi-viewport support first. From there, to add multiple viewport support the main thing you need to do is fill out the callbacks in I cannot give you specific advice on how to do this with imgui-java or whether it's even possible given their bindings. I'd suggest asking them directly if you run into problems. I don't believe there's really any documentation yet for implementing a custom platform backend because the feature is still in development. |
Beta Was this translation helpful? Give feedback.
-
I can't figure out how to set up multi-viewport support does anyone have any tips?
Beta Was this translation helpful? Give feedback.
All reactions