All files / core/src/types ICachedImage.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25                                                 
import type IImage from './IImage';
import type { IImageLoadObject } from './ILoadObject';
 
interface ICachedImage {
  /**
   * The image to use for this instance image right now.
   * This might be a lower resolution image, with appropriate indicators
   * set in the image instance object.
   */
  image?: IImage;
  imageId: string;
  /**
   * The image load object being used for this instance image.
   * This may be null if the image isn't actually being loaded right now, even
   * though there might be an image instance associated with it.
   */
  imageLoadObject?: IImageLoadObject;
  loaded: boolean;
  sharedCacheKey?: string;
  timeStamp: number;
  sizeInBytes: number;
}
 
export type { ICachedImage as default };