Skip to content

IRasterImage

Type interface

One image: the element, its texture on the shared WebGL context, and the pixel levels the CPU path samples.

Sources

IRasterImage is an interface: it describes a shape of data and is not imported on its own.

Properties

image

Type HTMLImageElement

levels

Type Array

ready

Type boolean

texture

Type undefined | { generation: number, texture: WebGLTexture }