ducjs - v4.4.2
    Preparing search index...

    Interface ModelThumbnailResult

    Result returned after capturing a model thumbnail/frame.

    interface ModelThumbnailResult {
        backend?: "gpu" | "cpu";
        base64: string;
        boundsUpdate?: { height: number; width: number } | null;
        data: Uint8Array;
        format: "png" | "webp" | "jpeg";
        glRenderer?: string;
        height: number;
        renderTimeMs: number;
        width: number;
    }
    Index
    backend?: "gpu" | "cpu"

    Graphics acceleration backend used: "gpu" (Metal/Vulkan/D3D) or "cpu" (SwiftShader).

    base64: string

    Base64-encoded representation of the image data.

    boundsUpdate?: { height: number; width: number } | null

    Proportional element bounds update maintaining thumbnail aspect ratio. Mirrors packages/client/ui/blocks/core/three/lib/model-thumbnail-bounds.ts.

    data: Uint8Array

    Raw image binary bytes (e.g. PNG buffer).

    format: "png" | "webp" | "jpeg"

    Image format produced.

    glRenderer?: string

    Active WebGL graphics renderer string reported by the browser/driver.

    height: number

    Output height in pixels.

    renderTimeMs: number

    Execution time in milliseconds.

    width: number

    Output width in pixels.