setVsyncTime

actual fun setVsyncTime(steadyClockTimeNano: Long)

Set the VSYNC time expressed as the duration in nanoseconds since epoch of std::chrono::steady_clock.

If called, passing 0 to frameTimeNanos in beginFrame() will use this time instead.

Parameters

steadyClockTimeNano

Duration in nanoseconds since epoch.

expect fun setVsyncTime(steadyClockTimeNano: Long)

Set the VSYNC time expressed as the duration in nanoseconds since epoch of std::chrono::steady_clock.

If called, passing 0 to frameTimeNanos in beginFrame() will use this time instead.

Parameters

steadyClockTimeNano

Duration in nanoseconds since epoch.

actual fun setVsyncTime(steadyClockTimeNano: Long)

Set the VSYNC time expressed as the duration in nanoseconds since epoch of std::chrono::steady_clock.

If called, passing 0 to frameTimeNanos in beginFrame() will use this time instead.

Parameters

steadyClockTimeNano

Duration in nanoseconds since epoch.

actual fun setVsyncTime(steadyClockTimeNano: Long)

Set the VSYNC time expressed as the duration in nanoseconds since epoch of std::chrono::steady_clock.

If called, passing 0 to frameTimeNanos in beginFrame() will use this time instead.

Parameters

steadyClockTimeNano

Duration in nanoseconds since epoch.

actual fun setVsyncTime(steadyClockTimeNano: Long)

Set the VSYNC time expressed as the duration in nanoseconds since epoch of std::chrono::steady_clock.

If called, passing 0 to frameTimeNanos in beginFrame() will use this time instead.

Parameters

steadyClockTimeNano

Duration in nanoseconds since epoch.