rullino
    Preparing search index...

    Interface RendererOptions

    interface RendererOptions {
        backend?: "gpu" | "cpu" | "auto";
        filters?: readonly Filter<any>[];
        gpu?: GPU;
        onError?: (error: GpuError) => void;
        resolveLut?: (ref: string) => Lut | undefined;
    }
    Index
    backend?: "gpu" | "cpu" | "auto"

    'auto' (default): Dawn through the webgpu package if it is installed and finds an adapter, else the CPU (see reason). 'gpu': Dawn or an error. 'cpu': the CPU reference.

    filters?: readonly Filter<any>[]

    The filters documents may use. Default: every filter of @rullino/filters.

    gpu?: GPU

    A WebGPU entry point to use instead of loading webgpu (e.g. a Dawn instance created with options).

    onError?: (error: GpuError) => void

    GPU errors (shaders that do not compile, validation, out of memory). Default: console.error.

    resolveLut?: (ref: string) => Lut | undefined

    Resolves LUT names in documents. Default: the looks of @rullino/presets (look:<id>).