benilla-re systems structs docs

s_framePassElapsed

global · unassigned

Address
0x885608 · 4 bytes, up to 0x88560b
Type
float
Meaning
Holds the frame time summed since the last frame pass, which the pass hands its layers and clears
Confidence
verified, proof two
Finding
core/framepass#elapsed-time

Finding: Elapsed time in core: the frame pass

Each dispatch of category 5 adds the frame time to the float 0x885608: the sum at 53 bits, rounded once to a float, which equals the float sum. The pass hands [0x885608] to each layer callback it calls and stores 0 after its present, called or not. So with one category-5 dispatch before each pass, a layer gets the tick's frame time, and the time of a pass that skips a layer is lost to it.

The derivation is in the doc.