- parseKTX(url, arrayBuffer, loadKeyValueData?): {
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;
}[];
}