onRuntimeLoopTick

Called to report the outcome of each tick of the runtime loop. In the simplest case this is the application of one action and one render pass, but optimizations can change that:

  • With the RENDER_ONLY_WHEN_STATE_CHANGES optimization, there may not be a render pass at all, in which case RenderPassSkipped is the outcome.

  • With the CONFLATE_STALE_RENDERINGS optimization, there could be multiple render passes.

  • If there is at least one render pass, then RenderPassesComplete is passed as the outcome, which includes the actual RenderingAndSnapshot returned from the runtime.

Parameters

outcome

The RuntimeLoopOutcome of the tick of the runtime loop.