This mirrors the previous refactor of the TextRenderer. All calls to draw_rect and draw_triangle now buffer vertex data (position and color). A begin()/flush() system is introduced to manage batching. |
||
|---|---|---|
| .. | ||
| shape.frag | ||
| shape.vert | ||
| text.frag | ||
| text.vert | ||