Skip to content

Documentation / @debuffjp/core / TextureSource

Type Alias: TextureSource ​

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

Defined in: spryte/dist/backend.d.ts:37

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