StaticdetectA PIXI asset detection parser for KTX2 textures.
StaticloadA PIXI asset loader parser for KTX2 textures.
StaticresolveA PIXI asset resolver for KTX2 texture URLs.
StaticWASM_The default path to the Khronos libktx WebAssembly module.
StaticinitializedHas the Khronos KTX module been initialized?
StaticmoduleThe initialized Khronos KTX module.
StaticinitializeInitialize the Khronos KTX module. The main-thread module remains available to callers; texture loading uses a separate worker instance.
Optionaloptions: KTX2ParserInitOptions = {}Initialization options.
The initialized Khronos KTX module.
StaticloadLoad a KTX2 URL as a PIXI compressed texture resource.
The texture URL.
Optionaloptions: KTX2ParserParseOptions = {}Parser options.
The compressed texture resource.
StaticparseParse KTX2 data in a worker and create a PIXI compressed texture resource. The input remains available to the caller unless transfer is explicitly enabled.
The KTX2 file data.
Optionaloptions: KTX2ParserParseOptions = {}Parser options.
The compressed texture resource.
A KTX2 PIXI loader parser using the official Khronos KTX module in a worker.