Module

x/canvas/mod.ts>SkRuntimeEffectFactory

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
interface SkRuntimeEffectFactory
import { type SkRuntimeEffectFactory } from "https://deno.land/x/canvas@v1.0.0/mod.ts";

See SkRuntimeEffect.h for more details.

Methods

Make(sksl: string): SkRuntimeEffect | null

Compiles a SkRuntimeEffect from the given shader code.