Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
795d74c84b | ||
|
|
9a6edd73fc | ||
|
|
ca73bccb77 | ||
|
|
a3a002239a | ||
|
|
2649e4f849 | ||
|
|
029d4f867f | ||
|
|
ed78949165 |
+28
-14
@@ -1,21 +1,35 @@
|
||||
declare module 'external:emscripten/meshopt/meshopt_decoder.asm.js' {
|
||||
namespace MeshoptDecoder {
|
||||
const supported: boolean;
|
||||
const ready: Promise<void>;
|
||||
|
||||
function decodeVertexBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array, filter?: string): void;
|
||||
function decodeIndexBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array): void;
|
||||
function decodeIndexSequence (target: Uint8Array, count: number, size: number, source: Uint8Array): void;
|
||||
|
||||
function decodeGltfBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array, mode: string, filter?: string): void;
|
||||
|
||||
function useWorkers (count: number): void;
|
||||
function decodeGltfBufferAsync (count: number, size: number, source: Uint8Array, mode: string, filter?: string): Promise<Uint8Array>;
|
||||
}
|
||||
|
||||
export default MeshoptDecoder;
|
||||
}
|
||||
|
||||
declare module 'external:emscripten/meshopt/meshopt_decoder.wasm.js' {
|
||||
namespace MeshoptDecoder {
|
||||
const supported: boolean;
|
||||
const ready: (instantiateWasm: any) => Promise<void>;
|
||||
|
||||
function decodeVertexBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array, filter?: string): void;
|
||||
function decodeIndexBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array): void;
|
||||
function decodeIndexSequence (target: Uint8Array, count: number, size: number, source: Uint8Array): void;
|
||||
|
||||
function decodeGltfBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array, mode: string, filter?: string): void;
|
||||
|
||||
function useWorkers (count: number): void;
|
||||
function decodeGltfBufferAsync (count: number, size: number, source: Uint8Array, mode: string, filter?: string): Promise<Uint8Array>;
|
||||
}
|
||||
|
||||
export default MeshoptDecoder;
|
||||
}
|
||||
|
||||
declare namespace MeshoptDecoder {
|
||||
const supported: boolean;
|
||||
const ready: Promise<void>;
|
||||
|
||||
function decodeVertexBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array, filter?: string): void;
|
||||
function decodeIndexBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array): void;
|
||||
function decodeIndexSequence (target: Uint8Array, count: number, size: number, source: Uint8Array): void;
|
||||
|
||||
function decodeGltfBuffer (target: Uint8Array, count: number, size: number, source: Uint8Array, mode: string, filter?: string): void;
|
||||
|
||||
function useWorkers (count: number): void;
|
||||
function decodeGltfBufferAsync (count: number, size: number, source: Uint8Array, mode: string, filter?: string): Promise<Uint8Array>;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Executable → Regular
BIN
Binary file not shown.
Reference in New Issue
Block a user