Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/shader_canvas/core/common/src_readers.ts

A rendering engine where you can write WebGL 2.0 shaders using custom tags.
Latest
import * as shaderCanvas from "https://deno.land/x/shader_canvas@v1.1.1/core/common/src_readers.ts";

Functions

This function tries to read the image from an element specified by the src query string.

A data reader that queries for the src string and runs JSON.parse on the textContent of the element queried.

This function is a "reader". If the src string is a JSON array, then it returns a promise that resolves to the parsed contents.

For a given src string, it tries a set of data readers for it. This allows a src string to support multiple target representations.

Type Aliases

These types can be used as image data sources for textures.