Back to Filament

setRenderingDeadline

docs/android/dokka/filament-android/com.google.android.filament/-renderer/set-rendering-deadline.md

1.75.0688 B
Original Source

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

setRenderingDeadline

[main]
open fun setRenderingDeadline(monotonicClockNanos: Long)

Set the deadline timestamp on the steady clock by which CPU and GPU rendering must complete for the buffer to meet its target display latching window. This must be called before endFrame.

Parameters

main

monotonicClockNanosThe deadline timestamp on the steady clock in nanoseconds.