UNPKG

remotion

Version:

Make videos programmatically

14 lines (13 loc) 462 B
import type { Backend } from './effect-types.js'; type CanvasPair = readonly [HTMLCanvasElement, HTMLCanvasElement]; export declare class CanvasPool { private readonly width; private readonly height; private readonly pairs; private readonly lostContexts; constructor(width: number, height: number); getPair(backend: Backend): CanvasPair; assertContextNotLost(canvas: HTMLCanvasElement): void; private allocateCanvas; } export {};