| ▲ | flohofwoe 2 hours ago | |
The demo uses a simple prebuilt fixed-size font atlas texture and renders the entire UI (including character quads) via batched glDrawElements calls (one draw call per clip-rect). But the way how text rendering is delegated to the user is quite flexible, microui basically calls these three user-provided functions:
...how r_draw_text() is implemented is then entirely up to you. | ||