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

x/canvas/src/canvaskit.ts>TextureSource

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

These are the types that webGL's texImage2D supports as a way to get data from as a texture.