Type alias ImageSource

ImageSource: HTMLImageElement | HTMLVideoElement | ImageBitmap | ICanvas | VideoFrame

Value types for the constructor of PIXI.BaseTexture, including:

  • HTMLImageElement
  • HTMLVideoElement
  • ImageBitmap
  • PIXI.ICanvas
  • VideoFrame

Memberof

PIXI

Generated using TypeDoc