Add existing to tracked
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import type { KTX2Container } from './container.js';
|
||||
/**
|
||||
* Parses a KTX 2.0 file, returning an unpacked {@link KTX2Container} instance with all associated
|
||||
* data. The container's mip levels and other binary data are pointers into the original file, not
|
||||
* copies, so the original file should not be overwritten after reading.
|
||||
*
|
||||
* @param data Bytes of KTX 2.0 file, as Uint8Array or Buffer.
|
||||
*/
|
||||
export declare function read(data: Uint8Array): KTX2Container;
|
||||
Reference in New Issue
Block a user