Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ImageItem

ImageItem is used to identify an image in the ImageCache.

Hierarchy

  • ImageItem

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Optional cancelled

cancelled: undefined | false | true

Turns to true if the loading has been cancelled.

Optional image

Optional image if already loaded.

Optional mipMaps

mipMaps: ImageData[]

Mip maps for image data

Readonly url

url: string

URL of the image, or unique identifier.

Accessors

loaded

  • get loaded(): boolean

loading

  • get loading(): boolean

Methods

loadImage

  • loadImage(): Promise<ImageItem | undefined>

Generated using TypeDoc