@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
13 lines (12 loc) • 669 B
TypeScript
export type AllowedKeys = "wasmUASTCToASTC" | "wasmUASTCToBC7" | "wasmUASTCToRGBA_UNORM" | "wasmUASTCToRGBA_SRGB" | "wasmUASTCToR8_UNORM" | "wasmUASTCToRG8_UNORM" | "wasmMSCTranscoder" | "wasmZSTDDecoder" | "jsDecoderModule" | "jsMSCTranscoder";
export declare function applyConfig(urls?: {
[key in AllowedKeys]: string;
}, binariesAndModulesContainer?: {
[key in AllowedKeys]: ArrayBuffer | any;
}): void;
export declare function workerFunction(KTX2DecoderModule: any): void;
export declare function initializeWebWorker(worker: Worker, wasmBinaries?: {
[key in AllowedKeys]?: ArrayBuffer;
}, urls?: {
[key in AllowedKeys]: string;
}): Promise<Worker>;