Back to Filament

setFrameScheduleTime

docs/android/dokka/filament-android/com.google.android.filament/-renderer/set-frame-schedule-time.md

1.75.0715 B
Original Source

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

setFrameScheduleTime

[main]
open fun setFrameScheduleTime(timeSteadyClockNano: Long)

Sets the physical clock time when the frame scheduling callback was entered. This is used by the frame pacer and pipeline estimator to accurately measure the active CPU duration (including app logic running before beginFrame).

Parameters

main

timeSteadyClockNanoMonotonic steady clock timestamp in nanoseconds since epoch.