Back to Filament

skipFrame

docs/android/dokka/filament-android/com.google.android.filament/-renderer/skip-frame.md

1.75.0796 B
Original Source

//filament-android/com.google.android.filament/Renderer/skipFrame

skipFrame

[main]
open fun skipFrame(vsyncSteadyClockTimeNano: Long)

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

Parameters

main

vsyncSteadyClockTimeNanoThe time in nanoseconds when the frame started being rendered, in the nanoTime timebase. Divide this value by 1000000 to convert it to the uptimeMillis time base. This typically comes from android.view.Choreographer.FrameCallback.