skipFrame

fun skipFrame(vsyncSteadyClockTimeNano: Long = 0)

Skip the current frame for frame pacing.

Call this when momentarily skipping frames, for instance if the content of the scene doesn't change.

Parameters

vsyncSteadyClockTimeNano

VSYNC time in steady_clock nanoseconds.