meo-skia-canvas
    Preparing search index...

    Interface BackendInfo

    What this build on this machine offers, as reported by backend.

    🧪 Not in the HTML Canvas standard.

    interface BackendInfo {
        api: "Vulkan" | "Metal" | null;
        device: string;
        driver?: string;
        error?: string | null;
        gpuAvailable: boolean;
        renderer: "CPU" | "GPU";
        threads: number;
    }
    Index
    api: "Vulkan" | "Metal" | null

    The graphics API this build was compiled against, or null when it was compiled without GPU support.

    device: string

    The adapter as the driver names it, or why the CPU is being used.

    driver?: string

    Driver name and version, where the API reports them -- Vulkan does, Metal does not. "N/A" where the CPU is rendering.

    error?: string | null

    Why GPU initialization failed, where it failed. null on a build compiled without GPU support -- there was nothing to initialize.

    gpuAvailable: boolean

    Whether a canvas may choose the GPU at all. False on a build without GPU support and on a machine whose driver declined, which error tells apart.

    renderer: "CPU" | "GPU"

    Whether a canvas built right now would rasterize on the GPU or the CPU.

    threads: number

    Threads in the rasterizing pool.