benilla-re systems structs docs

s_unitScreenRect

global · unassigned

Address
0x802564 · 16 bytes, up to 0x802573
Type
float[4]
Meaning
Holds the rectangle (0, 0, 1, 1) a screen layer takes for a null rectangle
Confidence
verified, proof one
Finding
core/framepass#layer-order

Finding: Layer order in core: the frame pass

ScrnLayerCreate (0x442800) makes a layer from a rectangle (null for the unit square), flags, a priority, a parameter and a callback, and writes its handle. The list runs from the lowest priority to the highest: a new layer goes after the last one, counting from the tail, whose priority is not greater than its own, or at the head; so among equal priorities the newer comes later. The lowest the client makes is the interface top's: the unit square, priority 1.0, flags 4 and the callback 0x764330, from the top's constructor (0x764264).

The derivation is in the doc.