Optional ReadonlybackendOptional ReadonlyfiltersThe filters documents may use. Default: every filter of @rullino/filters. Functions cannot
be sent to a worker, so with custom filters the CPU backend runs on the main thread.
Optional ReadonlygpuA WebGPU entry point to use instead of navigator.gpu.
Optional ReadonlyonGPU errors (shaders that do not compile, validation, out of memory). Default: console.error.
Optional ReadonlyresolveResolves LUT names in documents. Default: the looks of @rullino/presets (look:<id>).
Optional ReadonlyworkerRun the CPU backend in a Web Worker (default), so rendering never blocks the page.
'auto' (default): WebGPU if the browser has a usable adapter, else the CPU (see
reason). 'gpu': WebGPU or aWebGpuUnavailableError. 'cpu': the CPU.