M2SceneDrawList
function · models · host
- Address
0x70b360· 967 bytes, up to0x70b726- Meaning
- Sets the device for model drawing and draws a list of elements by kind, tracking the previous element
- Confidence
- verified, proof one
- Finding
- models/render#list-draw
Finding: List draw in models: drawing
0x708900(k) resets the draw state, draws list k, and with k = 0 also the grouped list after
it. A list draw saves the device view, sets an identity view and texture matrix, clears four render
states, and with vertex shaders copies the view into shader constants. It then draws each element
through its kind and copies the element's keys to the previous-element slots; a batched run
(kind 2) advances past the run's length. It ends by restoring the view.
The derivation is in the doc.
Callers 1
- M2SceneDraw models
Callees 17
- GxRsSet gx
- GxRsPush gx
- GxRsPop gx
- SetDeviceView gx
- 0x58b0a0 gx
- GetDeviceView gx
- 0x58b200 gx
- 0x58b220 gx
- GxXformSetTexture gx
- M2DrawBatch models
- M2DrawProjectedBatch models
- M2DrawBatchedRun models
- M2DrawRibbon models
- M2DrawParticles models
- M2DrawCustom models
- 0x74aa5d d3dx
- InvertMatrixDispatch d3dx
Calls and jumps by a bare address, from tables/calls.tsv.