benilla-re systems structs docs

IsBoxCulled

function · terrain · orchestration

Address
0x682f40 · 30 bytes, up to 0x682f5d
Signature
uint32_t __thiscall (void *this)
Meaning
Returns nonzero when the scene frustum rejects a box
Confidence
verified, proof one
Finding
terrain/cull#chunk-visibility

Finding: Chunk visibility in terrain: cull

0x683bf0 walks the frame's candidate chunks: a chunk whose holes word is 0xffff, whose box fails the frustum, or which the horizon hides, is dropped. With world flag 0x20, a visible chunk without holes becomes an occluder candidate; the candidates whose view depth lies in [0xc7b66c, 0xc7d278) add their rows to the horizon, and all join the draw list. Without the flag every visible chunk joins the draw list directly.

The derivation is in the doc.

Callers 5

Callees 1

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