static async LoadAsync()

in src/loaders/Loader.ts [7:17]


    static async LoadAsync(
        url: string,
        scene: Scene,
        onProgress?: (progress: number) => void,
        useCache: boolean = false,
    ): Promise<Splat> {
        const res: Response = await initiateFetchRequest(url, useCache);

        const buffer = await loadRequestDataIntoBuffer(res, onProgress);
        return this.LoadFromArrayBuffer(buffer, scene);
    }