benilla-re systems structs docs

CullLiquidLayer

function · terrain · orchestration

Address
0x683ab0 · 312 bytes, up to 0x683be7
Signature
void __fastcall (void *band, uint32_t layer)
Meaning
Culls a band's liquid slots of one layer and queues the visible ones
Confidence
inferred
Finding
terrain/scene#liquid-layer-cull

Finding: Liquid layer cull in terrain: scene

0x683ab0 culls one liquid layer (edx 1, 0 or 2) of a band. For each slot in the band's list for the layer it builds the slot's box, and a slot that is inside the frustum (0x682f40 is 0) and not hidden by the horizon (0x686180 with flags 0) leaves the band list and joins the layer's draw list.

The derivation is in the doc.

Callers 1

Callees 4

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