- parseKTX(
url: string,
arrayBuffer: ArrayBuffer,
loadKeyValueData?: boolean,
): {
compressed?: CompressedTextureResource[];
kvData: Map<string, DataView> | null;
uncompressed?: { format: FORMATS; resource: BufferResource; type: TYPES }[];
} Parameters
- url: string
- arrayBuffer: ArrayBuffer
Optional
loadKeyValueData: boolean
Returns {
compressed?: CompressedTextureResource[];
kvData: Map<string, DataView> | null;
uncompressed?: { format: FORMATS; resource: BufferResource; type: TYPES }[];
}