Skip to main content
Module

x/canvas/types.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/types.ts";

See SkRuntimeEffect.h for more details.

Methods

Make(sksl: string): SkRuntimeEffect | null

Compiles a SkRuntimeEffect from the given shader code.