Re:Using ImGui with modern C++ and STL for creating game dev...
by panic on Saturday July 23, 2016 @07:46PM
(#12151528)
Yes, exactly! It seems like immediate-mode GUIs could actually lay out faster than retained-mode: you don't have a scene graph, and the layout code is just normal code that can be optimized by the compiler.
[ Parent
| on HN ]
Re:Using ImGui with modern C++ and STL for creating game dev...
by pcwalton on Sunday July 24, 2016 @04:14AM
(#12152688)
Layout code is always "normal code that can be optimized by the compiler". Why wouldn't it be?
I think you're referring to applying optimizations to static UI with constant data structures, but that can be done with retained mode too, and I doubt it actually is going to help.