Use this if a file is a external image URL

@serializable(ImageReference)  
myImage?:ImageReference;

Constructors

Methods

  • Returns HTMLImageElement

  • Returns Promise<null | Texture>

  • Returns void

  • Loads the bitmap data of the image

    Returns Promise<null | ImageBitmap>