s_groupBufferLifetime
global · terrain
- Address
0x810cc8· 4 bytes, up to0x810ccb- Type
float- Meaning
- Holds 30.0, the seconds a group's buffer block lives after its last bind
- Confidence
- verified, proof one
- Finding
- terrain/groupdraw#batch-buffers-and-cull
Finding: Batch buffers and cull in terrain: map object draw
A batch is drawn only when the volume does not cull its box, and only once a frame. 0x6b4d10
tests the box of 16-bit values against the current volume with 0x682f40. 0x6b4da0(group, format) binds the group's vertex and index data: a block from the group vertex pool (age set to 30.0
at each bind, filled when new) and one from the index pool, or the group's own arrays when no block
is free. 0x6b5140 makes the draw record of a batch: primitive 3 (triangles), or 4 (strip) when
the strip switch 0xc96304 (world flag 0x10000 at map load) is set and bit 0 of the batch flag is.
The derivation is in the doc.