If you compare the code using the presented framework to code using say immediate mode library like ImGui[1][2] for example, the presented framework does indeed seem to be exposing a retained mode API.
[1]: https://pthom.github.io/imgui_explorer/
[2]: https://github.com/ocornut/imgui