benilla-re systems structs docs

ParticleFillQuadIndices

function · models · host

Address
0x7b3c50 · 195 bytes, up to 0x7b3d12
Meaning
Fills a quad index buffer: 0x1000 single quads or 0xaaa head and tail pairs
Confidence
verified, proof one
Finding
models/particles#draw-order-and-batches

Finding: Draw order and batches in models: particles

An emitter with flag 0x10 draws its particles in descending view z, the third column of the particle matrix, through a binary heap; others draw in live-list order. Each quad is two triangles (0, 1, 2) and (3, 2, 1); with both heads and tails a particle writes eight vertices. A frame draws at most 0x4000/vertices particles, the first popped or the first in the live list, and nothing while the texture has no device object. The colour bytes are swapped to the device's order when its caps ask.

The derivation is in the doc.

Callers 1

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.