Optional
manager: LoadingManagerStatic
DEFAULT_Optional
onLoad: ((data: Texture) => void)Optional
onProgress: ((event: ProgressEvent<EventTarget>) => void)Optional
onError: ((err: unknown) => void)Optional
onProgress: ((event: ProgressEvent<EventTarget>) => void)
Class for loading a texture.
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.