Back to Filament

getRenderingDeadlineNanos

docs/android/dokka/filament-android/com.google.android.filament.android/-frame-pacer/get-rendering-deadline-nanos.md

1.75.0769 B
Original Source

//filament-android/com.google.android.filament.android/FramePacer/getRenderingDeadlineNanos

getRenderingDeadlineNanos

[main]
open fun getRenderingDeadlineNanos(): Long

Returns the target rendering deadline timestamp computed during the most recent call to setupFrame().

This timepoint represents the absolute latest point on the steady clock by which the CPU and GPU must complete their rendering operations so that the buffer will successfully meet its display latching window.

Return

The upcoming frame's expected rendering deadline in nanoseconds.