benilla-re systems structs docs

DrawBatch

function · ui · host

Address
0x76fb00 · 317 bytes, up to 0x76fc3c
Meaning
Draws a batch: its sorted quads, then its text sub-batch, then its render callbacks
Confidence
verified, proof one
Finding
ui/draworder#what-a-batch-drains

Finding: What a batch drains in ui: draw order

A batch holds three arrays and drains them in this order: first the quads of every texture in it, sorted by texture handle, then the text of every font string, in the order the frames were walked, then the registered render callbacks. So within one level and layer every texture draws before any text and the textures' order is by handle, not by frame or declaration; only text keeps the frame order and, within a frame, the order the regions were last registered.

The derivation is in the doc.

Callers 2

Callees 8

Calls and jumps by a bare address, from tables/calls.tsv.