Function mapRenderSchedule

  • Creates a render schedule mapped from another one.

    The mapped schedule may support a render execution of another type.

    Type Parameters

    • TFromExecution extends RenderExecution<TFromExecution>

      A type of render shot execution context supported by original schedule.

    • TToExecution extends RenderExecution<TToExecution>

      A type of render shot execution context supported by mapped schedule.

    Parameters

    • schedule: RenderSchedule<TFromExecution>

      A schedule to map from.

    • execute: ((this, execution, draft, shot) => void)

      Executes a render shot in mapped execution context.

        • (this, execution, draft, shot): void
        • Parameters

          Returns void

    Returns RenderSchedule<TToExecution>

    Mapped render schedule instance.

Generated using TypeDoc