Skip to main content
Module

x/canvas/mod.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.1/mod.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.