benilla-re systems structs docs

CChunkLiquid::DrawOcean

function · terrain · orchestration

Address
0x68dab0 · 216 bytes, up to 0x68db87
Signature
void __thiscall (CChunkLiquid *this)
Meaning
Draws a liquid's ocean tiles with the current ocean frame
Confidence
verified, proof one
Finding
terrain/liquid#liquid-render-passes

Finding: Liquid render passes in terrain: liquid

0x68de40(pass) draws a liquid: pass 0 is the river, pass 1 the ocean and pass 2 magma, after making the liquid's buffers when it has none and creating the pass's ramp texture once. Each pass binds the current frame of type 4, 1 or 6, refills the vertices and the strips of tile type 4, 1 or 6 when the buffers are fresh, and draws the strip with the 40-byte vertex format. Tiles of any other type are never drawn by these passes.

The derivation is in the doc.

Callers 1

Callees 11

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