Golle / Titan

Titan, Game Engine in .NET 8 C# 11 and DirectX 12

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a GUI renderer

Golle opened this issue · comments

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.