AutoMovie API
    Preparing search index...

    Interface IAutoMovieViewerSnapshotRenderer

    Original synchronous draw and canvas readout required by the low-level snapshot adapter. A real WebGLRenderer satisfies this shape, but structural compatibility alone cannot establish native pixels, hardware or source validity. The caller owns the live matching canvas/renderer and its shutdown.

    interface IAutoMovieViewerSnapshotRenderer {
        domElement: {
            height: number;
            toDataURL: (type?: string, quality?: number) => string;
            width: number;
        };
        render: (scene: Scene, camera: Camera) => void;
    }
    Index
    domElement: {
        height: number;
        toDataURL: (type?: string, quality?: number) => string;
        width: number;
    }

    Canvas-like element owned by the renderer.

    Type Declaration

    • height: number

      Current physical canvas pixel height after the original draw.

    • toDataURL: (type?: string, quality?: number) => string

      Original synchronous canvas encoder; native fallback/failure is preserved.

    • width: number

      Current physical canvas pixel width after the original draw.

    render: (scene: Scene, camera: Camera) => void

    Render the scene from the camera before the canvas is read.