46 ms·
> you'll get smooth 60 FPS at no extra CPU cost. The key part there is no EXTRA cost. Most immediate mode GUI libraries redraw 60 frames everytime, so there i
by melissalobos 4y ago
> you'll get smooth 60 FPS at no extra CPU cost.
The key part there is no EXTRA cost. Most immediate mode GUI libraries redraw 60 frames everytime, so there is a constant somewhat high cost, especially compared with a retained mode program.
- dagmx 4y agoYeah this is something a lot of people overlook, in addition to accessibility. Immediate UIs, without some partial retained backing, are going to redraw all the time. Especially on mobile devices, this can be a huge power suck
- juancampa 4y agoTo clarify, egui has a mode where it only redraws while you're interacting with the app (e.g hovering, clicking). It doesn't do anything while idle (e.g. In between keystrokes)