meo-skia-canvas
    Preparing search index...

    Interface EngineDetails

    What one canvas is actually rendering on, as reported by Canvas.engine.

    🧪 Not in the HTML Canvas standard.

    interface EngineDetails {
        api: "Vulkan" | "Metal" | null;
        device: string;
        driver?: string;
        error?: string | null;
        renderer: "CPU" | "GPU";
        textContrast: number;
        textGamma: number;
        threads: number;
    }
    Index
    api: "Vulkan" | "Metal" | null

    The graphics API this build was compiled against, or null when it was compiled without GPU support. Names the API even where renderer is "CPU", since the fallback happened inside that API.

    device: string

    The adapter as the driver names it -- "Discrete GPU (…)" -- or, on the CPU, a phrase saying which reason put it there: manually disabled, the pixel format needing it, a failed initialization, or a build without GPU support.

    driver?: string

    Driver name and version, where the API reports them. Vulkan does; Metal omits the field on the GPU, and every CPU path reports the string "N/A".

    error?: string | null

    Why the GPU was not used, when that is a failure rather than a choice. Absent on a working GPU, and null on a build compiled without support.

    renderer: "CPU" | "GPU"

    Which backend took this canvas -- not what the machine has. A canvas built with gpu: false, and a float canvas that no GPU can composite, both report "CPU" on a machine with a working GPU.

    textContrast: number

    The canvas's own CanvasOptions.textContrast.

    textGamma: number

    The canvas's own CanvasOptions.textGamma.

    threads: number

    Threads in the rasterizing pool.