@animech-public/playcanvas
Version:
PlayCanvas WebGL game engine
27 lines (26 loc) • 824 B
TypeScript
/**
* Loads Bundle Assets.
*
* @ignore
*/
export class BundleHandler extends ResourceHandler {
/**
* Create a new BundleHandler instance.
*
* @param {import('../app-base.js').AppBase} app - The running {@link AppBase}.
*/
constructor(app: import("../app-base.js").AppBase);
_assets: import("../asset/asset-registry.js").AssetRegistry;
_fetchRetries(url: any, options: any, retries?: number): Promise<any>;
load(url: any, callback: any): void;
/**
* Open the bundle.
*
* @param {string} url - The URL of the resource to open.
* @param {Bundle} bundle - Bundle to open.
* @returns {Bundle} The bundle.
*/
open(url: string, bundle: Bundle): Bundle;
}
import { ResourceHandler } from './handler.js';
import { Bundle } from '../bundle/bundle.js';