Create a GUI renderer
Golle opened this issue · comments
Jens Andersson commented
Create a Immediate mode GUI renderer, this should contain a queue where all items are stored and batched for rendering.
Even if it's "immediate" we should cache everything before submitting it for rendering so we can have multiple systems rendering these UIs.
gui.Button|Text|Etc -> Pushed on a frame-allocated arena -> sorted and batched at the end of the frame -> submitted to the GPU.