CChunkLiquid::DrawRiver
function · terrain · orchestration
- Address
0x68db90· 270 bytes, up to0x68dc9d- Signature
void __thiscall (CChunkLiquid *this, uint32_t unused)- Meaning
- Draws a liquid's river tiles with the current river 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
- CChunkLiquid::Draw terrain
Callees 12
- GetTextureDeviceObject gx
- GxRsSetObject gx
- 0x58a010 gx
- GxBufLock gx
- GxBufUnlock gx
- GxVertexBufBind gx
- PassBufferToDevice gx
- GxPrimRenderOne gx
- GxShaderIsLoaded gx
- GetLiquidFrame terrain
- CChunkLiquid::FillRiverVertices terrain
- CChunkLiquid::BuildStrip terrain
Calls and jumps by a bare address, from tables/calls.tsv.