LogoPixi’VN
indexType aliases

Type Alias: TextureSourceLike

> TextureSourceLike = TextureSource | TextureResourceOrOptions | string

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/texture/Texture.d.ts:90

A texture source can be a string, an image, a video, a canvas, or a texture resource.

Advanced

See

  • TextureSource
  • TextureResourceOrOptions
  • Texture.from

On this page