UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

26 lines (25 loc) 398 B
class ResourceHandler { handlerType = ""; _app; _maxRetries = 0; constructor(app, handlerType) { this._app = app; this.handlerType = handlerType; } set maxRetries(value) { this._maxRetries = value; } get maxRetries() { return this._maxRetries; } load(url, callback, asset) { } open(url, data, asset) { return data; } patch(asset, assets) { } } export { ResourceHandler };