Type alias RenderSchedule<TExecution>

RenderSchedule<TExecution>: ((this, shot) => void)

Type Parameters

Type declaration

    • (this, shot): void
    • Render schedule signature.

      This function accepts a render shot to schedule. All scheduled render shots are meant to update the same rendering target. If multiple render shots scheduled before execution starts, only the last one will be executed to limit rendering rate.

      The render shot execution may fail. This should not prevent other scheduled or postponed render shots from being executed. The render shot execution failure reason is expected to be reported with error method.

      Render schedules are constructed by render schedulers, or by newRenderSchedule function that uses the default scheduler for that.

      Parameters

      • this: void
      • shot: RenderShot<TExecution>

        A render shot to schedule.

      Returns void

Generated using TypeDoc