benilla-re systems structs docs

WorldObjectRenderCallback

function · ui · orchestration

Address
0x481540 · 144 bytes, up to 0x4815cf
Meaning
Renders one object by GUID for a pass: draws it, or clears its model visible flag
Confidence
verified, proof one
Finding
terrain/scene#object-election

Finding: Object election in terrain: scene

An entity is drawn only if the scene elects it into the draw list, and the election is the pass number. The walk moves the entities in sight to the draw list; the drain 0x680390 moves every one left in a band to the second list. 0x683dd0 calls each entity's callback 0x481540 with pass 1 for the first list and 2 for the second. The pass-2 model's visible flag +0x50 is written 0, and the model update then does not link it into the scene's draw list. With the camera in a sealed map object with no exterior window, no walk runs and every outdoor entity is in the second list.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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