3 ms·
I wonder how much CPU this uses. An immediate mode GUI (ImGUI, which CodePerfect 95 uses) constructs the entire GUI on every frame by default.
by momonga 5y ago
I wonder how much CPU this uses. An immediate mode GUI (ImGUI, which CodePerfect 95 uses) constructs the entire GUI on every frame by default.
- mananaysiempre 5y agoIt does run through every node in the would-be scene graph by default, but IIRC the Dear ImGUI library caches the actual expensive toolkit, graphics, and/or window system calls for each subtree. The API is immediate-mode, but its implementation does not have to be stateless. (Cf. React.)