@ifc-lite/wasm 1.16.3 → 1.16.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pkg/ifc-lite.d.ts +8 -3
- package/pkg/ifc-lite.js +12 -6
- package/pkg/ifc-lite_bg.wasm +0 -0
package/package.json
CHANGED
package/pkg/ifc-lite.d.ts
CHANGED
|
@@ -474,6 +474,10 @@ export class IfcAPI {
|
|
|
474
474
|
* Get WASM memory for zero-copy access
|
|
475
475
|
*/
|
|
476
476
|
getMemory(): any;
|
|
477
|
+
/**
|
|
478
|
+
* Clear the cached entity index (call after streaming is complete)
|
|
479
|
+
*/
|
|
480
|
+
clearPrePassCache(): void;
|
|
477
481
|
/**
|
|
478
482
|
* Create and initialize the IFC API
|
|
479
483
|
*/
|
|
@@ -1057,6 +1061,7 @@ export interface InitOutput {
|
|
|
1057
1061
|
readonly gpumeshmetadata_vertexOffset: (a: number) => number;
|
|
1058
1062
|
readonly ifcapi_buildPrePassFast: (a: number, b: number, c: number) => number;
|
|
1059
1063
|
readonly ifcapi_buildPrePassOnce: (a: number, b: number, c: number) => number;
|
|
1064
|
+
readonly ifcapi_clearPrePassCache: (a: number) => void;
|
|
1060
1065
|
readonly ifcapi_debugProcessEntity953: (a: number, b: number, c: number, d: number) => void;
|
|
1061
1066
|
readonly ifcapi_debugProcessFirstWall: (a: number, b: number, c: number, d: number) => void;
|
|
1062
1067
|
readonly ifcapi_extractProfiles: (a: number, b: number, c: number, d: number) => number;
|
|
@@ -1189,9 +1194,9 @@ export interface InitOutput {
|
|
|
1189
1194
|
readonly profileentryjs_expressId: (a: number) => number;
|
|
1190
1195
|
readonly symboliccircle_expressId: (a: number) => number;
|
|
1191
1196
|
readonly __wbg_gpuinstancedgeometryref_free: (a: number, b: number) => void;
|
|
1192
|
-
readonly
|
|
1193
|
-
readonly
|
|
1194
|
-
readonly
|
|
1197
|
+
readonly __wasm_bindgen_func_elem_1136: (a: number, b: number, c: number) => void;
|
|
1198
|
+
readonly __wasm_bindgen_func_elem_1135: (a: number, b: number) => void;
|
|
1199
|
+
readonly __wasm_bindgen_func_elem_1175: (a: number, b: number, c: number, d: number) => void;
|
|
1195
1200
|
readonly __wbindgen_export: (a: number) => void;
|
|
1196
1201
|
readonly __wbindgen_export2: (a: number, b: number, c: number) => void;
|
|
1197
1202
|
readonly __wbindgen_export3: (a: number, b: number) => number;
|
package/pkg/ifc-lite.js
CHANGED
|
@@ -212,12 +212,12 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
212
212
|
|
|
213
213
|
let WASM_VECTOR_LEN = 0;
|
|
214
214
|
|
|
215
|
-
function
|
|
216
|
-
wasm.
|
|
215
|
+
function __wasm_bindgen_func_elem_1136(arg0, arg1, arg2) {
|
|
216
|
+
wasm.__wasm_bindgen_func_elem_1136(arg0, arg1, addHeapObject(arg2));
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
function
|
|
220
|
-
wasm.
|
|
219
|
+
function __wasm_bindgen_func_elem_1175(arg0, arg1, arg2, arg3) {
|
|
220
|
+
wasm.__wasm_bindgen_func_elem_1175(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
const GeoReferenceJsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -1547,6 +1547,12 @@ export class IfcAPI {
|
|
|
1547
1547
|
const ret = wasm.ifcapi_getMemory(this.__wbg_ptr);
|
|
1548
1548
|
return takeObject(ret);
|
|
1549
1549
|
}
|
|
1550
|
+
/**
|
|
1551
|
+
* Clear the cached entity index (call after streaming is complete)
|
|
1552
|
+
*/
|
|
1553
|
+
clearPrePassCache() {
|
|
1554
|
+
wasm.ifcapi_clearPrePassCache(this.__wbg_ptr);
|
|
1555
|
+
}
|
|
1550
1556
|
/**
|
|
1551
1557
|
* Create and initialize the IFC API
|
|
1552
1558
|
*/
|
|
@@ -3087,7 +3093,7 @@ function __wbg_get_imports() {
|
|
|
3087
3093
|
const a = state0.a;
|
|
3088
3094
|
state0.a = 0;
|
|
3089
3095
|
try {
|
|
3090
|
-
return
|
|
3096
|
+
return __wasm_bindgen_func_elem_1175(a, state0.b, arg0, arg1);
|
|
3091
3097
|
} finally {
|
|
3092
3098
|
state0.a = a;
|
|
3093
3099
|
}
|
|
@@ -3201,7 +3207,7 @@ function __wbg_get_imports() {
|
|
|
3201
3207
|
};
|
|
3202
3208
|
imports.wbg.__wbindgen_cast_c42a1cfd85e9d91e = function(arg0, arg1) {
|
|
3203
3209
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 148, function: Function { arguments: [Externref], shim_idx: 149, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3204
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3210
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1135, __wasm_bindgen_func_elem_1136);
|
|
3205
3211
|
return addHeapObject(ret);
|
|
3206
3212
|
};
|
|
3207
3213
|
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
package/pkg/ifc-lite_bg.wasm
CHANGED
|
Binary file
|