@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
39 lines • 1.24 kB
TypeScript
export class ImageRGBADataLoader extends AssetLoader<any, any> {
/**
*
* @param {string} [worker_path] Path to decoder worker, allows flexibility in deployment
*/
constructor({ worker_path }?: string);
/**
*
* @type {CodecWithFallback<{data, width:number, height:number, itemSize:number, bitDepth:number}>}
*/
decoder: CodecWithFallback<{
data;
width: number;
height: number;
itemSize: number;
bitDepth: number;
}>;
link(assetManager: any, engine: any): Promise<void>;
/**
*
* @param {string} path
* @param {AssetRequestScope} scope
* @returns {Promise<{data:ArrayBuffer, width: number, height:number, itemSize: number, bitDepth:number}>}
* @private
*/
private __decode_via_worker;
/**
*
* @param {String} path
* @param {AssetRequestScope} scope
* @return {Promise<ImageRGBADataAsset>}
* @private
*/
private __standard;
load(scope: any, path: any, success: any, failure: any, progress: any): void;
}
import { AssetLoader } from "../AssetLoader.js";
import { CodecWithFallback } from "./codec/CodecWithFallback.js";
//# sourceMappingURL=ImageRGBADataLoader.d.ts.map