Skip to content

Type Alias: ImageSource

ts
type ImageSource = TexImageSource | string;

Defined in: layers/image.ts:7

Anything texImage2D accepts, or a URL string the layer loads itself.

MIT licensed. WebGL2 required.