3 ms·
I took a look at the GitHub repo and I understand this is a GUI library for Rust, but I don't quite understand what they mean by "immediate mode" - could someon
by MrWiffles 5y ago
I took a look at the GitHub repo and I understand this is a GUI library for Rust, but I don't quite understand what they mean by "immediate mode" - could someone elaborate on that, please? Thank you!
- otoburb 5y agoA section in the GitHub README tries to answer this question: https://github.com/emilk/egui#why-immediate-mode https://github.com/emilk/egui#why-immediate-mode. I also read an old 2005 blog post & video by Casey Muratori[1] that explains the differences in more detail. [1] https://caseymuratori.com/blog_0001 https://caseymuratori.com/blog_0001
- accountofme 5y agoImmediate mode guis, afaik started in games. The GUI is written on every frame of the game, layout and state (i.e. button presses) are handled in code.
- bmn__ 5y agoNo, it started in the CS laboratory. The first GUIs were immediate, then this concept was quickly abandoned because of the numerous short-comings. Where GUIs mattered, the retained mode ruled supreme.
- accountofme 5y agoTil. thanks