Skip to content

Documentation / spryte / TextureSource

Type Alias: TextureSource ​

TextureSource = HTMLImageElement | HTMLCanvasElement | OffscreenCanvas | ImageBitmap | RenderTarget | CompressedTexture

Defined in: backend.ts:39

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