Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/canvas/src/types.ts>RuntimeEffectFactory

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Latest
interface RuntimeEffectFactory
import { type RuntimeEffectFactory } from "https://deno.land/x/canvas@v1.4.2/src/types.ts";

See RuntimeEffect.h for more details.

Methods

Make(sksl: string, callback?: (err: string) => void): RuntimeEffect | null

Compiles a RuntimeEffect from the given shader code.