M2DrawEndEmitter
function · models · host
- Address
0x70cb10· 30 bytes, up to0x70cb2d- Meaning
- Restores the device view and texture matrix after an emitter element
- Confidence
- verified, proof one
- Finding
- models/render#ribbon-particle-and-custom-draws
Finding: Ribbon, particle and custom draws in models: drawing
A ribbon, particle or custom element sets its material state, offsets the view to the emitter's frame, draws, and restores the view and texture matrix. A particle element's material takes its blend from the emitter record and the flags 4, plus 1 when the record's flag 1 is set, plus 2 when its flag 8 is set, plus 0x10 when its blend is above 1.
The derivation is in the doc.
Callers 4
- M2DrawProjectedBatch models
- M2DrawRibbon models
- M2DrawParticles models
- M2DrawCustom models
Callees 3
- GxRsPop gx
- SetDeviceView gx
- GxXformSetTexture gx
Calls and jumps by a bare address, from tables/calls.tsv.