DrawExteriorGroupBatches
function · terrain · host
- Address
0x6b4f10· 547 bytes, up to0x6b5132- Signature
void __thiscall (void *this, uint32_t arg2, uint32_t arg3)- Meaning
- Draws the first third-count batches of an exterior group with their materials
- Confidence
- verified, proof one
- Finding
- terrain/groupdraw#exterior-group-batches
Finding: Exterior group batches in terrain: map object draw
0x6b4f10(group, again) draws the first +0x40 batches of an exterior group: each batch that is
not marked drawn, not culled, with a loaded texture. Per material it sets lighting on unless flag
0x1, fog on unless flag 0x2, culling on unless flag 0x4, the material colour +0x14 when the
flag 0x10 is set and else 0, the blend, and the texture with clamping per flags 0x40 and 0x80. A
specular material (shader 1) with the specular program loaded gets the program, a white specular colour
and shininess 14.0 for its draw. A zero again clears the drawn marks first.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 14
- GetTextureDeviceObject gx
- GxRsSetWord gx
- GxRsSetFloat gx
- GxRsSet gx
- GxRsSetObject gx
- GxRsPush gx
- GxRsPop gx
- GxPrimRenderOne gx
- CGxTexFlags::CGxTexFlags gx
- GxTexSetFlags gx
- 0x58ade0 gx
- IsGroupBatchCulled terrain
- BindGroupBuffers terrain
- BuildBatchDrawArgs terrain
Calls and jumps by a bare address, from tables/calls.tsv.