benilla-re systems structs docs

CFrameStrataNode::RebuildBatches

function · ui · orchestration

Address
0x765920 · 368 bytes, up to 0x765a8f
Meaning
Unlinks the five batches, rebuilds the dirty layers from the node's frames and relinks every non-empty one
Confidence
verified, proof two
Finding
ui/strata#the-draw-pass

Finding: The draw pass in ui: strata, levels and the per-frame passes

The draw pass sets an orthographic projection over the screen, then for each stratum from 0 to 8: when its levels are dirty, it recomputes the overlap bit 0x10 of every toplevel frame in it; when its draw is dirty, it rebuilds the batches of each level whose layer mask is set; and it draws the batches of each level from the lowest. A rebuilt batch gathers, for its draw layer, the regions of every frame in the level that does not draw itself, from the oldest link to the newest (draworder). Every batch of a level is unlinked first and every non-empty one, rebuilt or not, is linked again in layer order.

The derivation is in the doc.

Callers 1

Callees 3

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