Skip to content

FrameTiming

Defined in: sdk/src/app/app.ts:117

What the loop’s own clock read for one completed frame. The one place frame time is measured: the profiler, the debug channel and the quality controller all take it from here instead of each keeping a clock.

busyMs: number

Defined in: sdk/src/app/app.ts:128

How long this frame’s own run took, first system to last; -1 where there is no clock. What is left of frameMs is time the loop waited for its next turn, so a frame that came late with this inside the budget was not held up by its systems.


frameMs: number

Defined in: sdk/src/app/app.ts:121

Interval since the previous frame, before simulation speed or delta clamping.


seq: number

Defined in: sdk/src/app/app.ts:119

Counts completed frames, so a reader can tell a new one from the last.