ImageBitmapLoader.d.ts 524 B

1234567891011121314151617181920212223
  1. import { Loader } from './Loader';
  2. import { LoadingManager } from './LoadingManager';
  3. export class ImageBitmapLoader extends Loader {
  4. constructor( manager?: LoadingManager );
  5. /**
  6. * @default { premultiplyAlpha: 'none' }
  7. */
  8. options: undefined | object;
  9. readonly isImageBitmapLoader: true;
  10. setOptions( options: object ): ImageBitmapLoader;
  11. load(
  12. url: string,
  13. onLoad?: ( response: ImageBitmap ) => void,
  14. onProgress?: ( request: ProgressEvent ) => void,
  15. onError?: ( event: ErrorEvent ) => void
  16. ): any;
  17. }