setPresentationTime

fun setPresentationTime(monotonicClockNanos: Long)

Set the time at which the frame must be presented.

This is set as the duration in nanoseconds since epoch of std::chrono::steady_clock. Must be called between beginFrame() and endFrame().

Silently ignored where the backend or platform can't schedule presentation.

Parameters

monotonicClockNanos

Time in nanoseconds.