needRender

actual fun needRender(throttledToVsync: Boolean)

Request redrawing of the content; The renderDelegate will be asked to re-render, and the result will be drawn on the screen.

Parameters

throttledToVsync

Whether to throttle calling renderDelegate's SkikoRenderDelegate.onRender to at most once between vsync signals (if vsync is enabled).

actual fun needRender(throttledToVsync: Boolean)

Redraw on the next animation Frame (on vsync signal if vsync is enabled).

expect fun needRender(throttledToVsync: Boolean = true)

Request redrawing of the content; The renderDelegate will be asked to re-render, and the result will be drawn on the screen.

Parameters

throttledToVsync

Whether to throttle calling renderDelegate's SkikoRenderDelegate.onRender to at most once between vsync signals (if vsync is enabled).

actual fun needRender(throttledToVsync: Boolean)

Request redrawing of the content; The renderDelegate will be asked to re-render, and the result will be drawn on the screen.

Parameters

throttledToVsync

Whether to throttle calling renderDelegate's SkikoRenderDelegate.onRender to at most once between vsync signals (if vsync is enabled).

actual fun needRender(throttledToVsync: Boolean)

Schedules a frame to an appropriate moment.

actual fun needRender(throttledToVsync: Boolean)

Request redrawing of the content; The renderDelegate will be asked to re-render, and the result will be drawn on the screen.

Parameters

throttledToVsync

Whether to throttle calling renderDelegate's SkikoRenderDelegate.onRender to at most once between vsync signals (if vsync is enabled).

actual fun needRender(throttledToVsync: Boolean)

Schedules a drawFrame to the appropriate moment.