-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17332 from Mugen87/dev29
ImageBitmapLoader: Inherit from Loader.
- Loading branch information
Showing
4 changed files
with
17 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
import { Loader } from './Loader'; | ||
import { LoadingManager } from './LoadingManager.js'; | ||
|
||
export class ImageBitmapLoader { | ||
export class ImageBitmapLoader extends Loader { | ||
|
||
constructor( manager?: LoadingManager ); | ||
|
||
manager: LoadingManager; | ||
options: undefined | object; | ||
|
||
setOptions( options: any ): ImageBitmapLoader; | ||
setOptions( options: object ): ImageBitmapLoader; | ||
load( | ||
url: string, | ||
onLoad?: ( response: string | ArrayBuffer ) => void, | ||
onProgress?: ( request: ProgressEvent ) => void, | ||
onError?: ( event: ErrorEvent ) => void | ||
): any; | ||
setCrossOrigin(): ImageBitmapLoader; | ||
setPath( path: string ): ImageBitmapLoader; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters