Skip to content

Documentation / @debuffjp/core / TextureSource

Type Alias: TextureSource ​

TextureSource = HTMLImageElement | HTMLCanvasElement | OffscreenCanvas | ImageBitmap

Defined in: render/backend.ts:17

Image sources the renderer can draw. Textures are cached per source object.