UNPKG

three-stdlib

Version:

stand-alone library of threejs examples

17 lines (13 loc) 502 B
import { Loader, BufferGeometry, LoadingManager } from 'three' export class PRWMLoader extends Loader { constructor(manager?: LoadingManager) load( url: string, onLoad: (geometry: BufferGeometry) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void, ): void loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<BufferGeometry> parse(data: ArrayBuffer): BufferGeometry static isBigEndianPlatform(): boolean }