Interface IKhronosTextureContainer2Options
interface IKhronosTextureContainer2Options {
binariesAndModulesContainer?: {
jsDecoderModule?: any;
jsMSCTranscoder?: any;
wasmBaseUrl?: any;
wasmMSCTranscoder?: any;
wasmUASTCToASTC?: any;
wasmUASTCToBC7?: any;
wasmUASTCToR8_UNORM?: any;
wasmUASTCToRG8_UNORM?: any;
wasmUASTCToRGBA_SRGB?: any;
wasmUASTCToRGBA_UNORM?: any;
wasmZSTDDecoder?: any;
};
numWorkers?: number;
workerPool?: AutoReleaseWorkerPool;
}
binariesAndModulesContainer?: {
jsDecoderModule?: any;
jsMSCTranscoder?: any;
wasmBaseUrl?: any;
wasmMSCTranscoder?: any;
wasmUASTCToASTC?: any;
wasmUASTCToBC7?: any;
wasmUASTCToR8_UNORM?: any;
wasmUASTCToRG8_UNORM?: any;
wasmUASTCToRGBA_SRGB?: any;
wasmUASTCToRGBA_UNORM?: any;
wasmZSTDDecoder?: any;
};
numWorkers?: number;
workerPool?: AutoReleaseWorkerPool;
}
Properties
Optionalbinaries And Modules Container
binariesAndModulesContainer?: {
jsDecoderModule?: any;
jsMSCTranscoder?: any;
wasmBaseUrl?: any;
wasmMSCTranscoder?: any;
wasmUASTCToASTC?: any;
wasmUASTCToBC7?: any;
wasmUASTCToR8_UNORM?: any;
wasmUASTCToRG8_UNORM?: any;
wasmUASTCToRGBA_SRGB?: any;
wasmUASTCToRGBA_UNORM?: any;
wasmZSTDDecoder?: any;
}
jsDecoderModule?: any;
jsMSCTranscoder?: any;
wasmBaseUrl?: any;
wasmMSCTranscoder?: any;
wasmUASTCToASTC?: any;
wasmUASTCToBC7?: any;
wasmUASTCToR8_UNORM?: any;
wasmUASTCToRG8_UNORM?: any;
wasmUASTCToRGBA_SRGB?: any;
wasmUASTCToRGBA_UNORM?: any;
wasmZSTDDecoder?: any;
}
Optional container for the KTX2 decoder module and its dependencies. If set, the module will be used from this container and the URLs will be ignored.
Optionalnum Workers
numWorkers?: number
Number of workers to use for async operations. Specify 0 to disable web workers and run synchronously in the current context.
Optionalworker Pool
Worker pool to use for async operations. If set, numWorkers will be ignored.
Options for the KTX2 decoder