Spaces:
Running
Running
File size: 440 Bytes
352fb85 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
interface WasmModule {
_malloc(size: number): number;
_free(ptr: number): void;
_sort(
viewProj: number,
transforms: number,
transformIndices: number,
vertexCount: number,
positions: number,
depthBuffer: number,
depthIndex: number,
starts: number,
counts: number,
): void;
}
declare const loadWasm: () => Promise<WasmModule>;
export default loadWasm;
|