class ImageLoader
extends Loader
import { ImageLoader } from "https://deno.land/x/threejs_4_deno@v121/src/Three.d.ts";
A loader for loading an image. Unlike other loaders, this one emits events instead of using predefined callbacks. So if you're interested in getting notified when things happen, you need to add listeners to the object.
Constructors
new
ImageLoader(manager?: LoadingManager)Methods
load(): HTMLImageElement
url: string,
onLoad?: (image: HTMLImageElement) => void,
onProgress?: (event: ProgressEvent) => void,
onError?: (event: ErrorEvent) => void,