benilla-re systems structs docs

ParticleDepthSortPush

function · models · orchestration

Address
0x7b63a0 · 157 bytes, up to 0x7b643c
Meaning
Inserts a particle and its depth into the sortable record heap
Confidence
inferred
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 2

Callees 1

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