benilla-re systems structs docs

s_interiorGroupDrawer

global · terrain

Address
0xcbe4b4 · 4 bytes, up to 0xcbe4b7
Type
void *
Meaning
Holds the function that draws the batches of an interior group, set each frame
Confidence
verified, proof one
Finding
terrain/portals#map-object-frame

Finding: Map object frame in terrain: map object visibility

0x6b3890 runs once a frame before anything is drawn. It points the group drawers at the exterior batch draw and the interior batch draw (a world flag swaps in a debug draw), zeroes the portal window count, the weather visibility byte and the sky box state, and ages every cached map object model: the night colours of its materials, the buffer blocks of its groups, the keep-alive timers of its groups and of the model, freeing what has expired.

The derivation is in the doc.