Immediate-Mode Graphical User Interfaces - 2005
150K views · 10 years ago · lecture · expert · evergreen
Casey Muratori's 2005 video lecture and demo on immediate-mode graphical user interfaces, a way of writing UI code where the interface is described each frame instead of being kept as retained widget state. It includes a description of minimal-state button logic.
HN people point to it as the origin of immediate-mode GUIs and the clearest explanation of the technique, recommended whenever Dear ImGui and similar libraries come up.
“a very elegant description of minimal state immediate mode button logic”
16 comments from Hacker News