4 ms·
Yes please I have always wondered why is this not a thing
by codegladiator 6y ago
Yes please I have always wondered why is this not a thing
- krapp 6y agoBecause of Electron.
- blargmaster33 6y agoWPF already exist.
- jayd16 6y agoI can't read the linked article without logging in but in my experience its not ideal for several reasons. Game engines are designed around game loops executing code every frame and not around power efficient layout caching. Orthrographic hierarchies are how UIs are usually laid out and its a mild pain to move to a system that's depth sorted, with custom shaders etc. You can do more but you need to think about more and its harder for the UI system to know what parts of the screen can be redrawn. Games usually just draw it all every frame. Specifically for a game engines, they usually don't do things like OS integration for accessibility, subpixel font rendering, that sort of thing. In theory they could but usually game engines seem to roll their own system for this.
- pixelpoet 6y agoI really love ImGui but what you described (accurately, I don't know why you got silently downvoted) is my biggest problem with it for general UI use. It's actually quite difficult to hack to make it not need 60+ fps updating; I've tried and was not really successful, wrote about some of the issues on reddit: https://www.reddit.com/r/cpp/comments/hcpoc0/how_to_add_a_gui_to_a_c_program/fvi383q/ https://www.reddit.com/r/cpp/comments/hcpoc0/how_to_add_a_gu...