CM2Model::FillVertices
function · models · host
- Address
0x719b20· 246 bytes, up to0x719c15- Meaning
- Skins a submesh's or a batch range's vertices into a device buffer
- Confidence
- verified, proof one
- Finding
- models/render#batch-draw
Finding: Batch draw in models: drawing
A batch element binds its textures, lighting and material. With vertex shaders it loads the submesh's bones as a palette of 4×3 matrices and selects the batch's shaders; otherwise it fills a vertex buffer by skinning the submesh on the CPU. It draws the submesh's triangles as an indexed triangle list, from the instance's own index buffer when the instance builds its own batches.
The derivation is in the doc.
Callers 1
- M2DrawBatch models
Callees 4
- GxBufLock gx
- GxBufUnlock gx
- GxBufCreate gx
- GxVertexBufBind gx
Calls and jumps by a bare address, from tables/calls.tsv.