@splinetool/runtime 1.12.98 → 2.0.1
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/README.md +195 -22
- package/build/boolean.js +406 -2
- package/build/boolean.js.br +0 -0
- package/build/boolean.js.gz +0 -0
- package/build/boolean.wasm +0 -0
- package/build/boolean.wasm.br +0 -0
- package/build/boolean.wasm.gz +0 -0
- package/build/gaussian-splat-compression.js.br +0 -0
- package/build/gaussian-splat-compression.js.gz +0 -0
- package/build/hana-ui.js +4299 -0
- package/build/hana-ui.js.br +0 -0
- package/build/hana-ui.js.gz +0 -0
- package/build/hana-ui.wasm +0 -0
- package/build/hana-ui.wasm.br +0 -0
- package/build/hana-ui.wasm.gz +0 -0
- package/build/howler.js.br +0 -0
- package/build/howler.js.gz +0 -0
- package/build/navmesh.js.br +0 -0
- package/build/navmesh.js.gz +0 -0
- package/build/navmesh.wasm +0 -0
- package/build/navmesh.wasm.br +0 -0
- package/build/navmesh.wasm.gz +0 -0
- package/build/opentype.js.br +0 -0
- package/build/opentype.js.gz +0 -0
- package/build/physics.js +1 -1
- package/build/physics.js.br +0 -0
- package/build/physics.js.gz +0 -0
- package/build/physics.wasm +0 -0
- package/build/physics.wasm.br +0 -0
- package/build/physics.wasm.gz +0 -0
- package/build/process.js +2 -2
- package/build/process.js.br +0 -0
- package/build/process.js.gz +0 -0
- package/build/process.wasm +0 -0
- package/build/process.wasm.br +0 -0
- package/build/process.wasm.gz +0 -0
- package/build/runtime-DRACOLoader-TQHJ6SJB.js +1 -0
- package/build/runtime-DRACOLoader-TQHJ6SJB.js.br +0 -0
- package/build/runtime-DRACOLoader-TQHJ6SJB.js.gz +0 -0
- package/build/runtime-Perfs-KMJFDYHU.js +1 -0
- package/build/runtime-Perfs-KMJFDYHU.js.br +0 -0
- package/build/runtime-Perfs-KMJFDYHU.js.gz +0 -0
- package/build/runtime-aiAssistant-XJVJ7TQB.js +1 -0
- package/build/runtime-aiAssistant-XJVJ7TQB.js.br +0 -0
- package/build/runtime-aiAssistant-XJVJ7TQB.js.gz +0 -0
- package/build/runtime-apiServices-KAO5SQJZ.js +1 -0
- package/build/runtime-apiServices-KAO5SQJZ.js.br +0 -0
- package/build/runtime-apiServices-KAO5SQJZ.js.gz +0 -0
- package/build/runtime-audio-Y3GYW4YQ.js +1 -0
- package/build/runtime-audio-Y3GYW4YQ.js.br +0 -0
- package/build/runtime-audio-Y3GYW4YQ.js.gz +0 -0
- package/build/runtime-bloom-XRHHZNNT.js +1 -0
- package/build/runtime-bloom-XRHHZNNT.js.br +0 -0
- package/build/runtime-bloom-XRHHZNNT.js.gz +0 -0
- package/build/runtime-brightnessContrast-RHV6X2Z4.js +1 -0
- package/build/runtime-brightnessContrast-RHV6X2Z4.js.br +0 -0
- package/build/runtime-brightnessContrast-RHV6X2Z4.js.gz +0 -0
- package/build/runtime-chromaticAberration-LSGAMQAK.js +1 -0
- package/build/runtime-chromaticAberration-LSGAMQAK.js.br +0 -0
- package/build/runtime-chromaticAberration-LSGAMQAK.js.gz +0 -0
- package/build/runtime-chunk-23QOKH2J.js +1 -0
- package/build/runtime-chunk-23QOKH2J.js.br +0 -0
- package/build/runtime-chunk-23QOKH2J.js.gz +0 -0
- package/build/runtime-chunk-2VFLTNIU.js +1 -0
- package/build/runtime-chunk-2VFLTNIU.js.br +0 -0
- package/build/runtime-chunk-2VFLTNIU.js.gz +0 -0
- package/build/runtime-chunk-44SAPZDZ.js +1 -0
- package/build/runtime-chunk-44SAPZDZ.js.br +0 -0
- package/build/runtime-chunk-44SAPZDZ.js.gz +0 -0
- package/build/runtime-chunk-4KZXQGUQ.js +1 -0
- package/build/runtime-chunk-4KZXQGUQ.js.br +0 -0
- package/build/runtime-chunk-4KZXQGUQ.js.gz +0 -0
- package/build/runtime-chunk-4YV3EXSU.js +1 -0
- package/build/runtime-chunk-4YV3EXSU.js.br +0 -0
- package/build/runtime-chunk-4YV3EXSU.js.gz +0 -0
- package/build/runtime-chunk-5CH7XRKY.js +1 -0
- package/build/runtime-chunk-5CH7XRKY.js.br +0 -0
- package/build/runtime-chunk-5CH7XRKY.js.gz +0 -0
- package/build/runtime-chunk-5VJGAC3M.js +1 -0
- package/build/runtime-chunk-5VJGAC3M.js.br +0 -0
- package/build/runtime-chunk-5VJGAC3M.js.gz +0 -0
- package/build/runtime-chunk-7NBWIU4W.js +1 -0
- package/build/runtime-chunk-7NBWIU4W.js.br +0 -0
- package/build/runtime-chunk-7NBWIU4W.js.gz +0 -0
- package/build/runtime-chunk-ARTGMJ7O.js +1 -0
- package/build/runtime-chunk-ARTGMJ7O.js.br +0 -0
- package/build/runtime-chunk-ARTGMJ7O.js.gz +0 -0
- package/build/runtime-chunk-BXPWRF47.js +1 -0
- package/build/runtime-chunk-BXPWRF47.js.br +0 -0
- package/build/runtime-chunk-BXPWRF47.js.gz +0 -0
- package/build/runtime-chunk-CRYQVRO6.js +1 -0
- package/build/runtime-chunk-CRYQVRO6.js.br +0 -0
- package/build/runtime-chunk-CRYQVRO6.js.gz +0 -0
- package/build/runtime-chunk-CVUJ3GMH.js +1 -0
- package/build/runtime-chunk-CVUJ3GMH.js.br +0 -0
- package/build/runtime-chunk-CVUJ3GMH.js.gz +0 -0
- package/build/runtime-chunk-DJJZN367.js +1 -0
- package/build/runtime-chunk-DJJZN367.js.br +0 -0
- package/build/runtime-chunk-DJJZN367.js.gz +0 -0
- package/build/runtime-chunk-DZNU62CT.js +1 -0
- package/build/runtime-chunk-DZNU62CT.js.br +0 -0
- package/build/runtime-chunk-DZNU62CT.js.gz +0 -0
- package/build/runtime-chunk-EAXCCTR5.js +1 -0
- package/build/runtime-chunk-EAXCCTR5.js.br +0 -0
- package/build/runtime-chunk-EAXCCTR5.js.gz +0 -0
- package/build/runtime-chunk-EOV2DL2V.js +1 -0
- package/build/runtime-chunk-EOV2DL2V.js.br +0 -0
- package/build/runtime-chunk-EOV2DL2V.js.gz +0 -0
- package/build/runtime-chunk-FDRTCOJ5.js +1 -0
- package/build/runtime-chunk-FDRTCOJ5.js.br +0 -0
- package/build/runtime-chunk-FDRTCOJ5.js.gz +0 -0
- package/build/runtime-chunk-FQNSP44B.js +1 -0
- package/build/runtime-chunk-FQNSP44B.js.br +0 -0
- package/build/runtime-chunk-FQNSP44B.js.gz +0 -0
- package/build/runtime-chunk-FTVQTRM7.js +1 -0
- package/build/runtime-chunk-FTVQTRM7.js.br +0 -0
- package/build/runtime-chunk-FTVQTRM7.js.gz +0 -0
- package/build/runtime-chunk-GFTBNL2W.js +1 -0
- package/build/runtime-chunk-GFTBNL2W.js.br +0 -0
- package/build/runtime-chunk-GFTBNL2W.js.gz +0 -0
- package/build/runtime-chunk-H6BPTR74.js +1 -0
- package/build/runtime-chunk-H6BPTR74.js.br +0 -0
- package/build/runtime-chunk-H6BPTR74.js.gz +0 -0
- package/build/runtime-chunk-H6T5LPRN.js +1 -0
- package/build/runtime-chunk-H6T5LPRN.js.br +0 -0
- package/build/runtime-chunk-H6T5LPRN.js.gz +0 -0
- package/build/runtime-chunk-HER7UVU3.js +1 -0
- package/build/runtime-chunk-HER7UVU3.js.br +0 -0
- package/build/runtime-chunk-HER7UVU3.js.gz +0 -0
- package/build/runtime-chunk-J2I4VBHR.js +1 -0
- package/build/runtime-chunk-J2I4VBHR.js.br +0 -0
- package/build/runtime-chunk-J2I4VBHR.js.gz +0 -0
- package/build/runtime-chunk-JFAQQYSH.js +1 -0
- package/build/runtime-chunk-JFAQQYSH.js.br +0 -0
- package/build/runtime-chunk-JFAQQYSH.js.gz +0 -0
- package/build/runtime-chunk-KGZNRID6.js +1 -0
- package/build/runtime-chunk-KGZNRID6.js.br +1 -0
- package/build/runtime-chunk-KGZNRID6.js.gz +0 -0
- package/build/runtime-chunk-LATYCOUS.js +1 -0
- package/build/runtime-chunk-LATYCOUS.js.br +0 -0
- package/build/runtime-chunk-LATYCOUS.js.gz +0 -0
- package/build/runtime-chunk-MBBODDV7.js +1 -0
- package/build/runtime-chunk-MBBODDV7.js.br +0 -0
- package/build/runtime-chunk-MBBODDV7.js.gz +0 -0
- package/build/runtime-chunk-ML3Z74BL.js +1 -0
- package/build/runtime-chunk-ML3Z74BL.js.br +0 -0
- package/build/runtime-chunk-ML3Z74BL.js.gz +0 -0
- package/build/runtime-chunk-MM75L5X4.js +1 -0
- package/build/runtime-chunk-MM75L5X4.js.br +0 -0
- package/build/runtime-chunk-MM75L5X4.js.gz +0 -0
- package/build/runtime-chunk-N2ZRGNPR.js +1 -0
- package/build/runtime-chunk-N2ZRGNPR.js.br +0 -0
- package/build/runtime-chunk-N2ZRGNPR.js.gz +0 -0
- package/build/runtime-chunk-NBYTQLIB.js +1 -0
- package/build/runtime-chunk-NBYTQLIB.js.br +0 -0
- package/build/runtime-chunk-NBYTQLIB.js.gz +0 -0
- package/build/runtime-chunk-NSD7DU3P.js +1 -0
- package/build/runtime-chunk-NSD7DU3P.js.br +0 -0
- package/build/runtime-chunk-NSD7DU3P.js.gz +0 -0
- package/build/runtime-chunk-NTUTXO7Q.js +1 -0
- package/build/runtime-chunk-NTUTXO7Q.js.br +0 -0
- package/build/runtime-chunk-NTUTXO7Q.js.gz +0 -0
- package/build/runtime-chunk-O5NBGIBR.js +1 -0
- package/build/runtime-chunk-O5NBGIBR.js.br +0 -0
- package/build/runtime-chunk-O5NBGIBR.js.gz +0 -0
- package/build/runtime-chunk-OFPUAZKY.js +1 -0
- package/build/runtime-chunk-OFPUAZKY.js.br +0 -0
- package/build/runtime-chunk-OFPUAZKY.js.gz +0 -0
- package/build/runtime-chunk-OW6T4XFV.js +1 -0
- package/build/runtime-chunk-OW6T4XFV.js.br +0 -0
- package/build/runtime-chunk-OW6T4XFV.js.gz +0 -0
- package/build/runtime-chunk-QZ35BPGB.js +1 -0
- package/build/runtime-chunk-QZ35BPGB.js.br +0 -0
- package/build/runtime-chunk-QZ35BPGB.js.gz +0 -0
- package/build/runtime-chunk-R43XZP65.js +1 -0
- package/build/runtime-chunk-R43XZP65.js.br +0 -0
- package/build/runtime-chunk-R43XZP65.js.gz +0 -0
- package/build/runtime-chunk-T53JMQSH.js +1 -0
- package/build/runtime-chunk-T53JMQSH.js.br +0 -0
- package/build/runtime-chunk-T53JMQSH.js.gz +0 -0
- package/build/runtime-chunk-T6CHRQ6N.js +1 -0
- package/build/runtime-chunk-T6CHRQ6N.js.br +0 -0
- package/build/runtime-chunk-T6CHRQ6N.js.gz +0 -0
- package/build/runtime-chunk-TU4KDRKR.js +1 -0
- package/build/runtime-chunk-TU4KDRKR.js.br +0 -0
- package/build/runtime-chunk-TU4KDRKR.js.gz +0 -0
- package/build/runtime-chunk-TZCHGFVF.js +1 -0
- package/build/runtime-chunk-TZCHGFVF.js.br +3 -0
- package/build/runtime-chunk-TZCHGFVF.js.gz +0 -0
- package/build/runtime-chunk-UK4GQHMO.js +1 -0
- package/build/runtime-chunk-UK4GQHMO.js.br +0 -0
- package/build/runtime-chunk-UK4GQHMO.js.gz +0 -0
- package/build/runtime-chunk-USXMESRF.js +1 -0
- package/build/runtime-chunk-USXMESRF.js.br +0 -0
- package/build/runtime-chunk-USXMESRF.js.gz +0 -0
- package/build/runtime-chunk-VAVYZ35B.js +1 -0
- package/build/runtime-chunk-VAVYZ35B.js.br +0 -0
- package/build/runtime-chunk-VAVYZ35B.js.gz +0 -0
- package/build/runtime-chunk-VGN7YHB7.js +1 -0
- package/build/runtime-chunk-VGN7YHB7.js.br +0 -0
- package/build/runtime-chunk-VGN7YHB7.js.gz +0 -0
- package/build/runtime-chunk-W7QPV37Y.js +1 -0
- package/build/runtime-chunk-W7QPV37Y.js.br +1 -0
- package/build/runtime-chunk-W7QPV37Y.js.gz +0 -0
- package/build/runtime-chunk-WQXDDUFV.js +1 -0
- package/build/runtime-chunk-WQXDDUFV.js.br +0 -0
- package/build/runtime-chunk-WQXDDUFV.js.gz +0 -0
- package/build/runtime-chunk-XLOQIQSS.js +1 -0
- package/build/runtime-chunk-XLOQIQSS.js.br +0 -0
- package/build/runtime-chunk-XLOQIQSS.js.gz +0 -0
- package/build/runtime-chunk-Y3BMDVJ7.js +1 -0
- package/build/runtime-chunk-Y3BMDVJ7.js.br +0 -0
- package/build/runtime-chunk-Y3BMDVJ7.js.gz +0 -0
- package/build/runtime-chunk-YUK55LCN.js +1 -0
- package/build/runtime-chunk-YUK55LCN.js.br +0 -0
- package/build/runtime-chunk-YUK55LCN.js.gz +0 -0
- package/build/runtime-chunk-YVNDW5TV.js +1 -0
- package/build/runtime-chunk-YVNDW5TV.js.br +0 -0
- package/build/runtime-chunk-YVNDW5TV.js.gz +0 -0
- package/build/runtime-chunk-YXATXASV.js +1 -0
- package/build/runtime-chunk-YXATXASV.js.br +1 -0
- package/build/runtime-chunk-YXATXASV.js.gz +0 -0
- package/build/runtime-chunk-Z5OH244S.js +1 -0
- package/build/runtime-chunk-Z5OH244S.js.br +0 -0
- package/build/runtime-chunk-Z5OH244S.js.gz +0 -0
- package/build/runtime-classicRuntime-F5CEZRNL.js +1 -0
- package/build/runtime-classicRuntime-F5CEZRNL.js.br +0 -0
- package/build/runtime-classicRuntime-F5CEZRNL.js.gz +0 -0
- package/build/runtime-cloners-BLAFVALM.js +1 -0
- package/build/runtime-cloners-BLAFVALM.js.br +0 -0
- package/build/runtime-cloners-BLAFVALM.js.gz +0 -0
- package/build/runtime-collisionBVH-KXZNWTEK.js +1 -0
- package/build/runtime-collisionBVH-KXZNWTEK.js.br +0 -0
- package/build/runtime-collisionBVH-KXZNWTEK.js.gz +0 -0
- package/build/runtime-components-DYNXEVOC.js +1 -0
- package/build/runtime-components-DYNXEVOC.js.br +0 -0
- package/build/runtime-components-DYNXEVOC.js.gz +0 -0
- package/build/runtime-conditional-3A423CXW.js +1 -0
- package/build/runtime-conditional-3A423CXW.js.br +0 -0
- package/build/runtime-conditional-3A423CXW.js.gz +0 -0
- package/build/runtime-createDestroy-FUUG7UAK.js +1 -0
- package/build/runtime-createDestroy-FUUG7UAK.js.br +0 -0
- package/build/runtime-createDestroy-FUUG7UAK.js.gz +0 -0
- package/build/runtime-depthOfField-BBWDHJYP.js +1 -0
- package/build/runtime-depthOfField-BBWDHJYP.js.br +0 -0
- package/build/runtime-depthOfField-BBWDHJYP.js.gz +0 -0
- package/build/runtime-dragDrop-GPFMU3ZB.js +1 -0
- package/build/runtime-dragDrop-GPFMU3ZB.js.br +0 -0
- package/build/runtime-dragDrop-GPFMU3ZB.js.gz +0 -0
- package/build/runtime-fxBloom-IGFV4KJD.js +1 -0
- package/build/runtime-fxBloom-IGFV4KJD.js.br +0 -0
- package/build/runtime-fxBloom-IGFV4KJD.js.gz +0 -0
- package/build/runtime-fxDepthOfField-WX7WD3K4.js +1 -0
- package/build/runtime-fxDepthOfField-WX7WD3K4.js.br +0 -0
- package/build/runtime-fxDepthOfField-WX7WD3K4.js.gz +0 -0
- package/build/runtime-gameControls-TGEINRCX.js +1 -0
- package/build/runtime-gameControls-TGEINRCX.js.br +0 -0
- package/build/runtime-gameControls-TGEINRCX.js.gz +0 -0
- package/build/runtime-hair-YOTI2EFL.js +1 -0
- package/build/runtime-hair-YOTI2EFL.js.br +0 -0
- package/build/runtime-hair-YOTI2EFL.js.gz +0 -0
- package/build/runtime-hueSaturation-X3HAZK2G.js +1 -0
- package/build/runtime-hueSaturation-X3HAZK2G.js.br +0 -0
- package/build/runtime-hueSaturation-X3HAZK2G.js.gz +0 -0
- package/build/runtime-mergeStaticGeometries-JI7YWYGH.js +1 -0
- package/build/runtime-mergeStaticGeometries-JI7YWYGH.js.br +3 -0
- package/build/runtime-mergeStaticGeometries-JI7YWYGH.js.gz +0 -0
- package/build/runtime-miscActions-INSZA2CP.js +1 -0
- package/build/runtime-miscActions-INSZA2CP.js.br +0 -0
- package/build/runtime-miscActions-INSZA2CP.js.gz +0 -0
- package/build/runtime-mouseHover-GZW7KW6H.js +1 -0
- package/build/runtime-mouseHover-GZW7KW6H.js.br +0 -0
- package/build/runtime-mouseHover-GZW7KW6H.js.gz +0 -0
- package/build/runtime-navmesh-UJTUAHXM.js +1 -0
- package/build/runtime-navmesh-UJTUAHXM.js.br +0 -0
- package/build/runtime-navmesh-UJTUAHXM.js.gz +0 -0
- package/build/runtime-noise-UF5CMIO3.js +1 -0
- package/build/runtime-noise-UF5CMIO3.js.br +0 -0
- package/build/runtime-noise-UF5CMIO3.js.gz +0 -0
- package/build/runtime-particles-T2CREK6M.js +1 -0
- package/build/runtime-particles-T2CREK6M.js.br +0 -0
- package/build/runtime-particles-T2CREK6M.js.gz +0 -0
- package/build/runtime-paths-PRHQFJ3X.js +1 -0
- package/build/runtime-paths-PRHQFJ3X.js.br +0 -0
- package/build/runtime-paths-PRHQFJ3X.js.gz +0 -0
- package/build/runtime-pixelation-QFSF4L6X.js +1 -0
- package/build/runtime-pixelation-QFSF4L6X.js.br +0 -0
- package/build/runtime-pixelation-QFSF4L6X.js.gz +0 -0
- package/build/runtime-resize-SM6PZWJY.js +1 -0
- package/build/runtime-resize-SM6PZWJY.js.br +0 -0
- package/build/runtime-resize-SM6PZWJY.js.gz +0 -0
- package/build/runtime-sceneTransition-JUZVB2S3.js +1 -0
- package/build/runtime-sceneTransition-JUZVB2S3.js.br +0 -0
- package/build/runtime-sceneTransition-JUZVB2S3.js.gz +0 -0
- package/build/runtime-scroll-Q6NRRL4F.js +1 -0
- package/build/runtime-scroll-Q6NRRL4F.js.br +0 -0
- package/build/runtime-scroll-Q6NRRL4F.js.gz +0 -0
- package/build/runtime-shapeBlends-CPHLT3XC.js +1 -0
- package/build/runtime-shapeBlends-CPHLT3XC.js.br +0 -0
- package/build/runtime-shapeBlends-CPHLT3XC.js.gz +0 -0
- package/build/runtime-text-TBHPCNPL.js +1 -0
- package/build/runtime-text-TBHPCNPL.js.br +0 -0
- package/build/runtime-text-TBHPCNPL.js.gz +0 -0
- package/build/runtime-textInputs-4HQER44D.js +1 -0
- package/build/runtime-textInputs-4HQER44D.js.br +0 -0
- package/build/runtime-textInputs-4HQER44D.js.gz +0 -0
- package/build/runtime-timeline-UKR4DEQS.js +1 -0
- package/build/runtime-timeline-UKR4DEQS.js.br +0 -0
- package/build/runtime-timeline-UKR4DEQS.js.gz +0 -0
- package/build/runtime-tracking-5HISHPEY.js +1 -0
- package/build/runtime-tracking-5HISHPEY.js.br +0 -0
- package/build/runtime-tracking-5HISHPEY.js.gz +0 -0
- package/build/runtime-transitions-FBNOSFXY.js +1 -0
- package/build/runtime-transitions-FBNOSFXY.js.br +0 -0
- package/build/runtime-transitions-FBNOSFXY.js.gz +0 -0
- package/build/runtime-ui2d-3AMS3CSG.js +1 -0
- package/build/runtime-ui2d-3AMS3CSG.js.br +0 -0
- package/build/runtime-ui2d-3AMS3CSG.js.gz +0 -0
- package/build/runtime-updater-3ELP7WMM.js +1 -0
- package/build/runtime-updater-3ELP7WMM.js.br +1 -0
- package/build/runtime-updater-3ELP7WMM.js.gz +0 -0
- package/build/runtime-variables-U36KPJ5V.js +1 -0
- package/build/runtime-variables-U36KPJ5V.js.br +0 -0
- package/build/runtime-variables-U36KPJ5V.js.gz +0 -0
- package/build/runtime-vectorShapes-GIS26ELU.js +1 -0
- package/build/runtime-vectorShapes-GIS26ELU.js.br +0 -0
- package/build/runtime-vectorShapes-GIS26ELU.js.gz +0 -0
- package/build/runtime-video-TZNR7MEM.js +1 -0
- package/build/runtime-video-TZNR7MEM.js.br +0 -0
- package/build/runtime-video-TZNR7MEM.js.gz +0 -0
- package/build/runtime-vignette-3KJD4P5D.js +1 -0
- package/build/runtime-vignette-3KJD4P5D.js.br +0 -0
- package/build/runtime-vignette-3KJD4P5D.js.gz +0 -0
- package/build/runtime-webgpu-LYDFJW3X.js +1 -0
- package/build/runtime-webgpu-LYDFJW3X.js.br +0 -0
- package/build/runtime-webgpu-LYDFJW3X.js.gz +0 -0
- package/build/runtime.cjs +6283 -4577
- package/build/runtime.js +1 -8186
- package/build/runtime.js.br +0 -0
- package/build/runtime.js.gz +0 -0
- package/build/runtime.standalone.js +1 -0
- package/build/runtime.standalone.js.br +0 -0
- package/build/runtime.standalone.js.gz +0 -0
- package/build/runtime.standalone.webgl.js +1 -0
- package/build/runtime.standalone.webgl.js.br +0 -0
- package/build/runtime.standalone.webgl.js.gz +0 -0
- package/build/runtime.standalone.webgpu.js +1 -0
- package/build/runtime.standalone.webgpu.js.br +0 -0
- package/build/runtime.standalone.webgpu.js.gz +0 -0
- package/build/runtime.standalone.webgpu.micro.js +1 -0
- package/build/runtime.standalone.webgpu.micro.js.br +0 -0
- package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
- package/build/runtime.standalone.webgpu.min.js +1 -0
- package/build/runtime.standalone.webgpu.min.js.br +0 -0
- package/build/runtime.standalone.webgpu.min.js.gz +0 -0
- package/build/sky-alto.png +0 -0
- package/build/sky-cirrus.png +0 -0
- package/build/smaa-area.png +0 -0
- package/build/smaa-node-area.png +0 -0
- package/build/smaa-node-search.png +0 -0
- package/build/smaa-search.png +0 -0
- package/build/snippets/hana-82e9eb82a79dead4/js-imports.js +93 -0
- package/package.json +104 -89
- package/runtime.d.ts +301 -2
- package/build/ui.js +0 -3
package/build/hana-ui.js
ADDED
|
@@ -0,0 +1,4299 @@
|
|
|
1
|
+
/* @ts-self-types="./hana.d.ts" */
|
|
2
|
+
import { loadImageFromBytes, loadImageFromUrl, loadVideoFromBytes, loadVideoFromUrl } from './snippets/hana-82e9eb82a79dead4/js-imports.js';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeviceLostPromise {
|
|
6
|
+
static __wrap(ptr) {
|
|
7
|
+
const obj = Object.create(DeviceLostPromise.prototype);
|
|
8
|
+
obj.__wbg_ptr = ptr;
|
|
9
|
+
DeviceLostPromiseFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
10
|
+
return obj;
|
|
11
|
+
}
|
|
12
|
+
__destroy_into_raw() {
|
|
13
|
+
const ptr = this.__wbg_ptr;
|
|
14
|
+
this.__wbg_ptr = 0;
|
|
15
|
+
DeviceLostPromiseFinalization.unregister(this);
|
|
16
|
+
return ptr;
|
|
17
|
+
}
|
|
18
|
+
free() {
|
|
19
|
+
const ptr = this.__destroy_into_raw();
|
|
20
|
+
wasm.__wbg_devicelostpromise_free(ptr, 0);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @returns {Promise<string>}
|
|
24
|
+
*/
|
|
25
|
+
wait() {
|
|
26
|
+
const ptr = this.__destroy_into_raw();
|
|
27
|
+
const ret = wasm.devicelostpromise_wait(ptr);
|
|
28
|
+
return takeObject(ret);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
if (Symbol.dispose) DeviceLostPromise.prototype[Symbol.dispose] = DeviceLostPromise.prototype.free;
|
|
32
|
+
|
|
33
|
+
export class Engine {
|
|
34
|
+
static __wrap(ptr) {
|
|
35
|
+
const obj = Object.create(Engine.prototype);
|
|
36
|
+
obj.__wbg_ptr = ptr;
|
|
37
|
+
EngineFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
38
|
+
return obj;
|
|
39
|
+
}
|
|
40
|
+
__destroy_into_raw() {
|
|
41
|
+
const ptr = this.__wbg_ptr;
|
|
42
|
+
this.__wbg_ptr = 0;
|
|
43
|
+
EngineFinalization.unregister(this);
|
|
44
|
+
return ptr;
|
|
45
|
+
}
|
|
46
|
+
free() {
|
|
47
|
+
const ptr = this.__destroy_into_raw();
|
|
48
|
+
wasm.__wbg_engine_free(ptr, 0);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @param {HTMLCanvasElement} canvas
|
|
52
|
+
* @param {DocumentData} document_data
|
|
53
|
+
* @param {boolean} force_webgl
|
|
54
|
+
* @returns {Promise<Engine>}
|
|
55
|
+
*/
|
|
56
|
+
static create(canvas, document_data, force_webgl) {
|
|
57
|
+
const ret = wasm.engine_create(addHeapObject(canvas), addHeapObject(document_data), force_webgl);
|
|
58
|
+
return takeObject(ret);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* @returns {DeviceLostPromise | undefined}
|
|
62
|
+
*/
|
|
63
|
+
getDeviceLostPromise() {
|
|
64
|
+
const ret = wasm.engine_getDeviceLostPromise(this.__wbg_ptr);
|
|
65
|
+
return ret === 0 ? undefined : DeviceLostPromise.__wrap(ret);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @returns {number | undefined}
|
|
69
|
+
*/
|
|
70
|
+
getGpuFrameTimeMs() {
|
|
71
|
+
try {
|
|
72
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
73
|
+
wasm.engine_getGpuFrameTimeMs(retptr, this.__wbg_ptr);
|
|
74
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
75
|
+
var r2 = getDataViewMemory0().getFloat64(retptr + 8 * 1, true);
|
|
76
|
+
return r0 === 0 ? undefined : r2;
|
|
77
|
+
} finally {
|
|
78
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @returns {boolean}
|
|
83
|
+
*/
|
|
84
|
+
isWebgpu() {
|
|
85
|
+
const ret = wasm.engine_isWebgpu(this.__wbg_ptr);
|
|
86
|
+
return ret !== 0;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* @param {number | null} [dt]
|
|
90
|
+
*/
|
|
91
|
+
onFrame(dt) {
|
|
92
|
+
wasm.engine_onFrame(this.__wbg_ptr, !isLikeNone(dt), isLikeNone(dt) ? 0 : dt);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* @param {ID} id
|
|
96
|
+
*/
|
|
97
|
+
removeTexture(id) {
|
|
98
|
+
wasm.engine_removeTexture(this.__wbg_ptr, addHeapObject(id));
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @param {Float2} world_min
|
|
102
|
+
* @param {Float2} world_max
|
|
103
|
+
* @param {number} long_side_px
|
|
104
|
+
* @returns {PixelReadPromise}
|
|
105
|
+
*/
|
|
106
|
+
renderRegion(world_min, world_max, long_side_px) {
|
|
107
|
+
const ret = wasm.engine_renderRegion(this.__wbg_ptr, addHeapObject(world_min), addHeapObject(world_max), long_side_px);
|
|
108
|
+
return PixelReadPromise.__wrap(ret);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* @param {DocumentData} document_data
|
|
112
|
+
*/
|
|
113
|
+
reset(document_data) {
|
|
114
|
+
wasm.engine_reset(this.__wbg_ptr, addHeapObject(document_data));
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* @param {UInt2} logical_size
|
|
118
|
+
* @param {number} scale_factor
|
|
119
|
+
*/
|
|
120
|
+
resize(logical_size, scale_factor) {
|
|
121
|
+
wasm.engine_resize(this.__wbg_ptr, addHeapObject(logical_size), scale_factor);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* @param {Float2} size
|
|
125
|
+
* @param {Float2} pos
|
|
126
|
+
* @returns {PixelReadPromise}
|
|
127
|
+
*/
|
|
128
|
+
samplePixels(size, pos) {
|
|
129
|
+
const ret = wasm.engine_samplePixels(this.__wbg_ptr, addHeapObject(size), addHeapObject(pos));
|
|
130
|
+
return PixelReadPromise.__wrap(ret);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
if (Symbol.dispose) Engine.prototype[Symbol.dispose] = Engine.prototype.free;
|
|
134
|
+
|
|
135
|
+
export class PixelReadPromise {
|
|
136
|
+
static __wrap(ptr) {
|
|
137
|
+
const obj = Object.create(PixelReadPromise.prototype);
|
|
138
|
+
obj.__wbg_ptr = ptr;
|
|
139
|
+
PixelReadPromiseFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
140
|
+
return obj;
|
|
141
|
+
}
|
|
142
|
+
__destroy_into_raw() {
|
|
143
|
+
const ptr = this.__wbg_ptr;
|
|
144
|
+
this.__wbg_ptr = 0;
|
|
145
|
+
PixelReadPromiseFinalization.unregister(this);
|
|
146
|
+
return ptr;
|
|
147
|
+
}
|
|
148
|
+
free() {
|
|
149
|
+
const ptr = this.__destroy_into_raw();
|
|
150
|
+
wasm.__wbg_pixelreadpromise_free(ptr, 0);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* @returns {Promise<Uint8Array>}
|
|
154
|
+
*/
|
|
155
|
+
wait() {
|
|
156
|
+
const ptr = this.__destroy_into_raw();
|
|
157
|
+
const ret = wasm.pixelreadpromise_wait(ptr);
|
|
158
|
+
return takeObject(ret);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
if (Symbol.dispose) PixelReadPromise.prototype[Symbol.dispose] = PixelReadPromise.prototype.free;
|
|
162
|
+
|
|
163
|
+
export class SceneController {
|
|
164
|
+
__destroy_into_raw() {
|
|
165
|
+
const ptr = this.__wbg_ptr;
|
|
166
|
+
this.__wbg_ptr = 0;
|
|
167
|
+
SceneControllerFinalization.unregister(this);
|
|
168
|
+
return ptr;
|
|
169
|
+
}
|
|
170
|
+
free() {
|
|
171
|
+
const ptr = this.__destroy_into_raw();
|
|
172
|
+
wasm.__wbg_scenecontroller_free(ptr, 0);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* @returns {boolean}
|
|
176
|
+
*/
|
|
177
|
+
get is_play_mode() {
|
|
178
|
+
const ret = wasm.__wbg_get_scenecontroller_is_play_mode(this.__wbg_ptr);
|
|
179
|
+
return ret !== 0;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* @returns {boolean}
|
|
183
|
+
*/
|
|
184
|
+
get needs_video_update() {
|
|
185
|
+
const ret = wasm.__wbg_get_scenecontroller_needs_video_update(this.__wbg_ptr);
|
|
186
|
+
return ret !== 0;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* @returns {boolean}
|
|
190
|
+
*/
|
|
191
|
+
get show_pixel_grid() {
|
|
192
|
+
const ret = wasm.__wbg_get_scenecontroller_show_pixel_grid(this.__wbg_ptr);
|
|
193
|
+
return ret !== 0;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Register multicolor art for an inline emoji, keyed by its Twemoji codepoint
|
|
197
|
+
* (e.g. `"1f44b"` or the flag `"1f1fa-1f1f8"`). `art` is the svg-to-hana subtree
|
|
198
|
+
* for the emoji — a frame whose children are its per-color vec-net shapes. The
|
|
199
|
+
* text layout reserves an inline box for any grapheme whose codepoint is
|
|
200
|
+
* registered here, and the scene graph draws this art at that box. Runtime-only:
|
|
201
|
+
* the art is warmed in per session, never written back to the document.
|
|
202
|
+
* @param {string} codepoint
|
|
203
|
+
* @param {any} art
|
|
204
|
+
*/
|
|
205
|
+
addEmojiArt(codepoint, art) {
|
|
206
|
+
const ptr0 = passStringToWasm0(codepoint, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
207
|
+
const len0 = WASM_VECTOR_LEN;
|
|
208
|
+
wasm.scenecontroller_addEmojiArt(this.__wbg_ptr, ptr0, len0, addHeapObject(art));
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* @param {ID} id
|
|
212
|
+
* @param {UrlOrPlatformUInt8Array} image
|
|
213
|
+
*/
|
|
214
|
+
addImage(id, image) {
|
|
215
|
+
wasm.scenecontroller_addImage(this.__wbg_ptr, addHeapObject(id), addHeapObject(image));
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* The optional args name a face inside a font collection (`.ttc` — common for
|
|
219
|
+
* macOS system fonts): the matching face is parsed instead of face 0. Omitting
|
|
220
|
+
* them (existing 2-arg callers) keeps the old behavior.
|
|
221
|
+
* @param {ID} id
|
|
222
|
+
* @param {Uint8Array} data
|
|
223
|
+
* @param {string | null} [postscript_name]
|
|
224
|
+
* @param {string | null} [family]
|
|
225
|
+
* @param {string | null} [style]
|
|
226
|
+
*/
|
|
227
|
+
addLocalFont(id, data, postscript_name, family, style) {
|
|
228
|
+
var ptr0 = isLikeNone(postscript_name) ? 0 : passStringToWasm0(postscript_name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
229
|
+
var len0 = WASM_VECTOR_LEN;
|
|
230
|
+
var ptr1 = isLikeNone(family) ? 0 : passStringToWasm0(family, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
231
|
+
var len1 = WASM_VECTOR_LEN;
|
|
232
|
+
var ptr2 = isLikeNone(style) ? 0 : passStringToWasm0(style, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
233
|
+
var len2 = WASM_VECTOR_LEN;
|
|
234
|
+
wasm.scenecontroller_addLocalFont(this.__wbg_ptr, addHeapObject(id), addHeapObject(data), ptr0, len0, ptr1, len1, ptr2, len2);
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* @param {ID} id
|
|
238
|
+
* @param {Model3DGeometryData} data
|
|
239
|
+
*/
|
|
240
|
+
addModel3DGeometry(id, data) {
|
|
241
|
+
wasm.scenecontroller_addModel3DGeometry(this.__wbg_ptr, addHeapObject(id), addHeapObject(data));
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* @param {ID} id
|
|
245
|
+
* @param {UrlOrPlatformUInt8Array} video
|
|
246
|
+
*/
|
|
247
|
+
addVideo(id, video) {
|
|
248
|
+
wasm.scenecontroller_addVideo(this.__wbg_ptr, addHeapObject(id), addHeapObject(video));
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Returns a Promise that resolves once the web font has been fetched and parsed.
|
|
252
|
+
* Callers that need to react to font-load completion (e.g. to re-anchor auto-sized
|
|
253
|
+
* text shapes whose natural size depends on glyph metrics) should await this.
|
|
254
|
+
* @param {ID} id
|
|
255
|
+
* @param {string} url
|
|
256
|
+
* @returns {Promise<any>}
|
|
257
|
+
*/
|
|
258
|
+
addWebFont(id, url) {
|
|
259
|
+
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
260
|
+
const len0 = WASM_VECTOR_LEN;
|
|
261
|
+
const ret = wasm.scenecontroller_addWebFont(this.__wbg_ptr, addHeapObject(id), ptr0, len0);
|
|
262
|
+
return takeObject(ret);
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* @param {Uint8Array} data
|
|
266
|
+
* @param {Uint32Array} selected_verts
|
|
267
|
+
* @param {Float2} delta
|
|
268
|
+
* @returns {Uint8Array | undefined}
|
|
269
|
+
*/
|
|
270
|
+
applyDeltaToVectorVertexPositionSelection(data, selected_verts, delta) {
|
|
271
|
+
const ret = wasm.scenecontroller_applyDeltaToVectorVertexPositionSelection(this.__wbg_ptr, addHeapObject(data), addHeapObject(selected_verts), addHeapObject(delta));
|
|
272
|
+
return takeObject(ret);
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* @param {ID} id
|
|
276
|
+
* @returns {BoundingBox | undefined}
|
|
277
|
+
*/
|
|
278
|
+
axisAlignedBoundingBox(id) {
|
|
279
|
+
const ret = wasm.scenecontroller_axisAlignedBoundingBox(this.__wbg_ptr, addHeapObject(id));
|
|
280
|
+
return takeObject(ret);
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* @returns {BoundingBox | undefined}
|
|
284
|
+
*/
|
|
285
|
+
boundingBox() {
|
|
286
|
+
const ret = wasm.scenecontroller_boundingBox(this.__wbg_ptr);
|
|
287
|
+
return takeObject(ret);
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* @param {Float2} start
|
|
291
|
+
* @param {Float2} end
|
|
292
|
+
* @param {boolean} isolate
|
|
293
|
+
* @param {boolean} fully
|
|
294
|
+
* @param {ID | null} [root]
|
|
295
|
+
* @returns {ID[]}
|
|
296
|
+
*/
|
|
297
|
+
boxIntersectsObjects(start, end, isolate, fully, root) {
|
|
298
|
+
try {
|
|
299
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
300
|
+
wasm.scenecontroller_boxIntersectsObjects(retptr, this.__wbg_ptr, addHeapObject(start), addHeapObject(end), isolate, fully, isLikeNone(root) ? 0 : addHeapObject(root));
|
|
301
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
302
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
303
|
+
var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
|
|
304
|
+
wasm.__wbindgen_export4(r0, r1 * 4, 4);
|
|
305
|
+
return v1;
|
|
306
|
+
} finally {
|
|
307
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* @param {ID} id
|
|
312
|
+
* @param {number | null} [width]
|
|
313
|
+
* @returns {Float2 | undefined}
|
|
314
|
+
*/
|
|
315
|
+
calcTextAutoSize(id, width) {
|
|
316
|
+
const ret = wasm.scenecontroller_calcTextAutoSize(this.__wbg_ptr, addHeapObject(id), isLikeNone(width) ? Number.MAX_SAFE_INTEGER : Math.fround(width));
|
|
317
|
+
return takeObject(ret);
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* @param {ID} id
|
|
321
|
+
* @returns {Float2}
|
|
322
|
+
*/
|
|
323
|
+
centerPencilData(id) {
|
|
324
|
+
const ret = wasm.scenecontroller_centerPencilData(this.__wbg_ptr, addHeapObject(id));
|
|
325
|
+
return takeObject(ret);
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* @returns {Float2}
|
|
329
|
+
*/
|
|
330
|
+
centerVectorData() {
|
|
331
|
+
const ret = wasm.scenecontroller_centerVectorData(this.__wbg_ptr);
|
|
332
|
+
return takeObject(ret);
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* @param {any} network
|
|
336
|
+
* @param {Float2} size
|
|
337
|
+
* @returns {VecNetShapeData | undefined}
|
|
338
|
+
*/
|
|
339
|
+
figmaVectorToVecNet(network, size) {
|
|
340
|
+
const ret = wasm.scenecontroller_figmaVectorToVecNet(this.__wbg_ptr, addHeapObject(network), addHeapObject(size));
|
|
341
|
+
return takeObject(ret);
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* @param {ID} shape
|
|
345
|
+
* @returns {ParseSvgPathResult | undefined}
|
|
346
|
+
*/
|
|
347
|
+
flattenShape(shape) {
|
|
348
|
+
const ret = wasm.scenecontroller_flattenShape(this.__wbg_ptr, addHeapObject(shape));
|
|
349
|
+
return takeObject(ret);
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* Re-solve layout + constraints for the subtree affected by an edit to `id`, returning the
|
|
353
|
+
* objects whose geometry changed for the editor to persist via `dispatchNoUndo`. The caller
|
|
354
|
+
* does NOT choose directions: this walks up to the highest affected ancestor (the layout root)
|
|
355
|
+
* and runs the full measure/arrange solve down through every frame. Because the solve is a pure,
|
|
356
|
+
* idempotent function of geometry, this maximal pass is correct for every trigger (resize,
|
|
357
|
+
* reorder, reparent, layout-prop change, scale, visibility) — an unaffected node re-solves to
|
|
358
|
+
* its current geometry and simply isn't reported. Structural-edit path — does not consume
|
|
359
|
+
* `needs_layout_resolve` dirty marks.
|
|
360
|
+
* @param {ID} id
|
|
361
|
+
* @returns {LayoutResult[]}
|
|
362
|
+
*/
|
|
363
|
+
flushLayout(id) {
|
|
364
|
+
try {
|
|
365
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
366
|
+
wasm.scenecontroller_flushLayout(retptr, this.__wbg_ptr, addHeapObject(id));
|
|
367
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
368
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
369
|
+
var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
|
|
370
|
+
wasm.__wbindgen_export4(r0, r1 * 4, 4);
|
|
371
|
+
return v1;
|
|
372
|
+
} finally {
|
|
373
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* @returns {number | undefined}
|
|
378
|
+
*/
|
|
379
|
+
getCurrentFrameIndex() {
|
|
380
|
+
const ret = wasm.scenecontroller_getCurrentFrameIndex(this.__wbg_ptr);
|
|
381
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* @returns {number}
|
|
385
|
+
*/
|
|
386
|
+
getTotalFramesAmount() {
|
|
387
|
+
const ret = wasm.scenecontroller_getTotalFramesAmount(this.__wbg_ptr);
|
|
388
|
+
return ret >>> 0;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* @returns {VecNetShapeData | undefined}
|
|
392
|
+
*/
|
|
393
|
+
getUpdatedPencilData() {
|
|
394
|
+
const ret = wasm.scenecontroller_getUpdatedPencilData(this.__wbg_ptr);
|
|
395
|
+
return takeObject(ret);
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* @returns {VecNetShapeData | undefined}
|
|
399
|
+
*/
|
|
400
|
+
getUpdatedVecNetData() {
|
|
401
|
+
const ret = wasm.scenecontroller_getUpdatedVecNetData(this.__wbg_ptr);
|
|
402
|
+
return takeObject(ret);
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Get the oriented bounding box of selected vertices in local coordinates.
|
|
406
|
+
* `box_orientation_radians` is the orientation angle of the box.
|
|
407
|
+
* Returns [half_w, half_h, m00, m01, m10, m11, tx, ty] or null if no selection.
|
|
408
|
+
* The first two values are the half-size. The remaining six are the local matrix
|
|
409
|
+
* (2x2 rotation columns + translation) mapping from box space to parent space.
|
|
410
|
+
* @param {number} box_orientation_radians
|
|
411
|
+
* @returns {Float32Array | undefined}
|
|
412
|
+
*/
|
|
413
|
+
getVectorBoxSelectionBoundsAndLocalMatrix(box_orientation_radians) {
|
|
414
|
+
const ret = wasm.scenecontroller_getVectorBoxSelectionBoundsAndLocalMatrix(this.__wbg_ptr, box_orientation_radians);
|
|
415
|
+
return takeObject(ret);
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* @returns {any}
|
|
419
|
+
*/
|
|
420
|
+
getVectorCursor() {
|
|
421
|
+
const ret = wasm.scenecontroller_getVectorCursor(this.__wbg_ptr);
|
|
422
|
+
return takeObject(ret);
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* @returns {any}
|
|
426
|
+
*/
|
|
427
|
+
getVectorEditMode() {
|
|
428
|
+
const ret = wasm.scenecontroller_getVectorEditMode(this.__wbg_ptr);
|
|
429
|
+
return takeObject(ret);
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* @returns {PlatformUInt8Array | undefined}
|
|
433
|
+
*/
|
|
434
|
+
getVectorEditingState() {
|
|
435
|
+
const ret = wasm.scenecontroller_getVectorEditingState(this.__wbg_ptr);
|
|
436
|
+
return takeObject(ret);
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* @returns {Uint32Array}
|
|
440
|
+
*/
|
|
441
|
+
getVectorSelectedVerts() {
|
|
442
|
+
const ret = wasm.scenecontroller_getVectorSelectedVerts(this.__wbg_ptr);
|
|
443
|
+
return takeObject(ret);
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* Get the count of selected vertices (including vertices from selected segments)
|
|
447
|
+
* @returns {number}
|
|
448
|
+
*/
|
|
449
|
+
getVectorSelectionCount() {
|
|
450
|
+
const ret = wasm.scenecontroller_getVectorSelectionCount(this.__wbg_ptr);
|
|
451
|
+
return ret >>> 0;
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* @returns {boolean}
|
|
455
|
+
*/
|
|
456
|
+
hasFontAssetsChanges() {
|
|
457
|
+
const ret = wasm.scenecontroller_hasFontAssetsChanges(this.__wbg_ptr);
|
|
458
|
+
return ret !== 0;
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* Check if any segments are selected (as opposed to individual vertices)
|
|
462
|
+
* @returns {boolean}
|
|
463
|
+
*/
|
|
464
|
+
hasSingleVectorSelectedSegment() {
|
|
465
|
+
const ret = wasm.scenecontroller_hasSingleVectorSelectedSegment(this.__wbg_ptr);
|
|
466
|
+
return ret !== 0;
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* The instance-root collab id that a (possibly virtual / realized) object id
|
|
470
|
+
* belongs to, or `null` if it is not inside a virtual instance. The editor
|
|
471
|
+
* uses this to redirect an edit on an instance's inner node into an override
|
|
472
|
+
* on the instance root, instead of a no-op edit against the un-persisted node.
|
|
473
|
+
* @param {any} id
|
|
474
|
+
* @returns {any}
|
|
475
|
+
*/
|
|
476
|
+
instanceRootOf(id) {
|
|
477
|
+
const ret = wasm.scenecontroller_instanceRootOf(this.__wbg_ptr, addHeapObject(id));
|
|
478
|
+
return takeObject(ret);
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* Single object intersection that does not consider parent, visibility or clipping
|
|
482
|
+
* @param {Float2} pos
|
|
483
|
+
* @param {ID} object
|
|
484
|
+
* @param {number | null} [stroke_margin]
|
|
485
|
+
* @param {boolean | null} [is_selected]
|
|
486
|
+
* @returns {boolean}
|
|
487
|
+
*/
|
|
488
|
+
intersectsObject(pos, object, stroke_margin, is_selected) {
|
|
489
|
+
const ret = wasm.scenecontroller_intersectsObject(this.__wbg_ptr, addHeapObject(pos), addHeapObject(object), isLikeNone(stroke_margin) ? Number.MAX_SAFE_INTEGER : Math.fround(stroke_margin), isLikeNone(is_selected) ? 0xFFFFFF : is_selected ? 1 : 0);
|
|
490
|
+
return ret !== 0;
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* @param {Float2} pos
|
|
494
|
+
* @param {boolean | null} [include_locked]
|
|
495
|
+
* @param {number | null} [stroke_margin]
|
|
496
|
+
* @returns {ID[]}
|
|
497
|
+
*/
|
|
498
|
+
intersectsObjects(pos, include_locked, stroke_margin) {
|
|
499
|
+
try {
|
|
500
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
501
|
+
wasm.scenecontroller_intersectsObjects(retptr, this.__wbg_ptr, addHeapObject(pos), isLikeNone(include_locked) ? 0xFFFFFF : include_locked ? 1 : 0, isLikeNone(stroke_margin) ? Number.MAX_SAFE_INTEGER : Math.fround(stroke_margin));
|
|
502
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
503
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
504
|
+
var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
|
|
505
|
+
wasm.__wbindgen_export4(r0, r1 * 4, 4);
|
|
506
|
+
return v1;
|
|
507
|
+
} finally {
|
|
508
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* @returns {boolean}
|
|
513
|
+
*/
|
|
514
|
+
isEditedVectorEmpty() {
|
|
515
|
+
const ret = wasm.scenecontroller_isEditedVectorEmpty(this.__wbg_ptr);
|
|
516
|
+
return ret !== 0;
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* @param {ID} id
|
|
520
|
+
* @returns {boolean}
|
|
521
|
+
*/
|
|
522
|
+
isObjectInViewport(id) {
|
|
523
|
+
const ret = wasm.scenecontroller_isObjectInViewport(this.__wbg_ptr, addHeapObject(id));
|
|
524
|
+
return ret !== 0;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* @returns {boolean}
|
|
528
|
+
*/
|
|
529
|
+
isVectorBoxSelectAllowed() {
|
|
530
|
+
const ret = wasm.scenecontroller_isVectorBoxSelectAllowed(this.__wbg_ptr);
|
|
531
|
+
return ret !== 0;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Returns true if a vector point (vert or visible control point) is under the given
|
|
535
|
+
* world position. Used to give point interactions priority over the resize box.
|
|
536
|
+
* @param {Float2} pos
|
|
537
|
+
* @returns {boolean}
|
|
538
|
+
*/
|
|
539
|
+
isVectorPointUnderCursor(pos) {
|
|
540
|
+
const ret = wasm.scenecontroller_isVectorPointUnderCursor(this.__wbg_ptr, addHeapObject(pos));
|
|
541
|
+
return ret !== 0;
|
|
542
|
+
}
|
|
543
|
+
layout() {
|
|
544
|
+
wasm.scenecontroller_layout(this.__wbg_ptr);
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* Drain pending `needs_layout_resolve` dirty marks (set via `markNeedsLayoutResolve`) through
|
|
548
|
+
* the constraint + autolayout re-solve and return the objects whose geometry changed. Capturing
|
|
549
|
+
* counterpart of `layout()`, for the size-change write-back path.
|
|
550
|
+
* @returns {LayoutResult[]}
|
|
551
|
+
*/
|
|
552
|
+
layoutFromResize() {
|
|
553
|
+
try {
|
|
554
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
555
|
+
wasm.scenecontroller_layoutFromResize(retptr, this.__wbg_ptr);
|
|
556
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
557
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
558
|
+
var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
|
|
559
|
+
wasm.__wbindgen_export4(r0, r1 * 4, 4);
|
|
560
|
+
return v1;
|
|
561
|
+
} finally {
|
|
562
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* Mark an object's subtree for a layout + constraint re-solve on the next `update_cached`
|
|
567
|
+
* (drained by `compute_layout_and_constraints_from_resize`). The editor calls this after a
|
|
568
|
+
* non-base-state resize, where layout results must be applied purely in the runtime rather than
|
|
569
|
+
* written to the data layer.
|
|
570
|
+
* @param {ID} id
|
|
571
|
+
*/
|
|
572
|
+
markNeedsLayoutResolve(id) {
|
|
573
|
+
wasm.scenecontroller_markNeedsLayoutResolve(this.__wbg_ptr, addHeapObject(id));
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* Measures the natural size for a text shape given its data. Used by the editor
|
|
577
|
+
* before dispatching auto-size mutations so it can shift `position` to keep the
|
|
578
|
+
* alignment-anchored corner in place. Returns `data.size` unchanged if the font is
|
|
579
|
+
* not loaded yet or `autoSize` is None.
|
|
580
|
+
* @param {TextShapeData} data
|
|
581
|
+
* @returns {Float2}
|
|
582
|
+
*/
|
|
583
|
+
measureTextNaturalSize(data) {
|
|
584
|
+
const ret = wasm.scenecontroller_measureTextNaturalSize(this.__wbg_ptr, addHeapObject(data));
|
|
585
|
+
return takeObject(ret);
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* Returns the currently selected clip index for the shape, or null if no clip
|
|
589
|
+
* is bound.
|
|
590
|
+
* @param {ID} id
|
|
591
|
+
* @returns {number | undefined}
|
|
592
|
+
*/
|
|
593
|
+
model3DAnimationClipIndex(id) {
|
|
594
|
+
const ret = wasm.scenecontroller_model3DAnimationClipIndex(this.__wbg_ptr, addHeapObject(id));
|
|
595
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* Returns whether the shape's animation is currently playing.
|
|
599
|
+
* @param {ID} id
|
|
600
|
+
* @returns {boolean}
|
|
601
|
+
*/
|
|
602
|
+
model3DAnimationIsPlaying(id) {
|
|
603
|
+
const ret = wasm.scenecontroller_model3DAnimationIsPlaying(this.__wbg_ptr, addHeapObject(id));
|
|
604
|
+
return ret !== 0;
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
607
|
+
* Current playhead in seconds for the shape's bound clip, or null when no
|
|
608
|
+
* clip is selected.
|
|
609
|
+
* @param {ID} id
|
|
610
|
+
* @returns {number | undefined}
|
|
611
|
+
*/
|
|
612
|
+
model3DAnimationLocalTime(id) {
|
|
613
|
+
const ret = wasm.scenecontroller_model3DAnimationLocalTime(this.__wbg_ptr, addHeapObject(id));
|
|
614
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
615
|
+
}
|
|
616
|
+
/**
|
|
617
|
+
* Move selected vertices by a delta
|
|
618
|
+
* @param {Float2} delta
|
|
619
|
+
*/
|
|
620
|
+
moveVectorSelectionByDelta(delta) {
|
|
621
|
+
wasm.scenecontroller_moveVectorSelectionByDelta(this.__wbg_ptr, addHeapObject(delta));
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* @param {ID} id
|
|
625
|
+
* @returns {BoundingBox | undefined}
|
|
626
|
+
*/
|
|
627
|
+
objectAlignedBoundingBox(id) {
|
|
628
|
+
const ret = wasm.scenecontroller_objectAlignedBoundingBox(this.__wbg_ptr, addHeapObject(id));
|
|
629
|
+
return takeObject(ret);
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* The current data of an object by collab id, read from the runtime slotmap.
|
|
633
|
+
* Works for *virtual* instance descendants (which exist only in the slotmap,
|
|
634
|
+
* realized from the component registry, not in the collab tree), so the editor
|
|
635
|
+
* can read a realized node's properties — e.g. to populate the inspector for a
|
|
636
|
+
* node selected inside an instance. Returns `null` if the id is unknown.
|
|
637
|
+
* @param {any} id
|
|
638
|
+
* @returns {any}
|
|
639
|
+
*/
|
|
640
|
+
objectData(id) {
|
|
641
|
+
const ret = wasm.scenecontroller_objectData(this.__wbg_ptr, addHeapObject(id));
|
|
642
|
+
return takeObject(ret);
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* @param {ID} id
|
|
646
|
+
* @returns {Affine2 | undefined}
|
|
647
|
+
*/
|
|
648
|
+
objectLocalMatrix(id) {
|
|
649
|
+
const ret = wasm.scenecontroller_objectLocalMatrix(this.__wbg_ptr, addHeapObject(id));
|
|
650
|
+
return takeObject(ret);
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* @param {ID} id
|
|
654
|
+
* @returns {Affine2 | undefined}
|
|
655
|
+
*/
|
|
656
|
+
objectWorldMatrix(id) {
|
|
657
|
+
const ret = wasm.scenecontroller_objectWorldMatrix(this.__wbg_ptr, addHeapObject(id));
|
|
658
|
+
return takeObject(ret);
|
|
659
|
+
}
|
|
660
|
+
/**
|
|
661
|
+
* @param {ID} id
|
|
662
|
+
* @returns {Affine2 | undefined}
|
|
663
|
+
*/
|
|
664
|
+
objectWorldMatrixWithChildrenOffset(id) {
|
|
665
|
+
const ret = wasm.scenecontroller_objectWorldMatrixWithChildrenOffset(this.__wbg_ptr, addHeapObject(id));
|
|
666
|
+
return takeObject(ret);
|
|
667
|
+
}
|
|
668
|
+
/**
|
|
669
|
+
* @param {string} key
|
|
670
|
+
*/
|
|
671
|
+
onKeyDown(key) {
|
|
672
|
+
const ptr0 = passStringToWasm0(key, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
673
|
+
const len0 = WASM_VECTOR_LEN;
|
|
674
|
+
wasm.scenecontroller_onKeyDown(this.__wbg_ptr, ptr0, len0);
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* @param {string} key
|
|
678
|
+
*/
|
|
679
|
+
onKeyUp(key) {
|
|
680
|
+
const ptr0 = passStringToWasm0(key, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
681
|
+
const len0 = WASM_VECTOR_LEN;
|
|
682
|
+
wasm.scenecontroller_onKeyUp(this.__wbg_ptr, ptr0, len0);
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
* @param {Float2} pos
|
|
686
|
+
* @param {boolean} is_touch
|
|
687
|
+
* @param {number} button
|
|
688
|
+
*/
|
|
689
|
+
onPointerDown(pos, is_touch, button) {
|
|
690
|
+
wasm.scenecontroller_onPointerDown(this.__wbg_ptr, addHeapObject(pos), is_touch, button);
|
|
691
|
+
}
|
|
692
|
+
onPointerEnter() {
|
|
693
|
+
wasm.scenecontroller_onPointerEnter(this.__wbg_ptr);
|
|
694
|
+
}
|
|
695
|
+
onPointerLeave() {
|
|
696
|
+
wasm.scenecontroller_onPointerLeave(this.__wbg_ptr);
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* @param {Float2} pos
|
|
700
|
+
* @param {boolean} is_touch
|
|
701
|
+
* @param {number} button
|
|
702
|
+
*/
|
|
703
|
+
onPointerMove(pos, is_touch, button) {
|
|
704
|
+
wasm.scenecontroller_onPointerMove(this.__wbg_ptr, addHeapObject(pos), is_touch, button);
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* @param {Float2} pos
|
|
708
|
+
* @param {boolean} is_touch
|
|
709
|
+
* @param {number} button
|
|
710
|
+
*/
|
|
711
|
+
onPointerUp(pos, is_touch, button) {
|
|
712
|
+
wasm.scenecontroller_onPointerUp(this.__wbg_ptr, addHeapObject(pos), is_touch, button);
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
* The *outermost* (top-level, collab-addressable) instance root that a possibly
|
|
716
|
+
* virtual / nested realized object id belongs to, or `null` if it is not inside
|
|
717
|
+
* any instance. Unlike [`instanceRootOf`](Self::instance_root_of) (nearest), this
|
|
718
|
+
* walks past nested instance hosts. The editor folds an edit on a node inside a
|
|
719
|
+
* (possibly nested) instance into *this* instance's overrides; for a node inside a
|
|
720
|
+
* nested instance the override is a composite path that composes across the
|
|
721
|
+
* boundary.
|
|
722
|
+
* @param {any} id
|
|
723
|
+
* @returns {any}
|
|
724
|
+
*/
|
|
725
|
+
outermostInstanceRootOf(id) {
|
|
726
|
+
const ret = wasm.scenecontroller_outermostInstanceRootOf(this.__wbg_ptr, addHeapObject(id));
|
|
727
|
+
return takeObject(ret);
|
|
728
|
+
}
|
|
729
|
+
/**
|
|
730
|
+
* @param {ID} child_id
|
|
731
|
+
* @param {ID} parent_id
|
|
732
|
+
* @returns {BoundingBox | undefined}
|
|
733
|
+
*/
|
|
734
|
+
parentAlignedBoundingBox(child_id, parent_id) {
|
|
735
|
+
const ret = wasm.scenecontroller_parentAlignedBoundingBox(this.__wbg_ptr, addHeapObject(child_id), addHeapObject(parent_id));
|
|
736
|
+
return takeObject(ret);
|
|
737
|
+
}
|
|
738
|
+
/**
|
|
739
|
+
* @param {string} path
|
|
740
|
+
* @param {number} fill_rule
|
|
741
|
+
* @returns {ParseSvgPathResult | undefined}
|
|
742
|
+
*/
|
|
743
|
+
parseSvgPath(path, fill_rule) {
|
|
744
|
+
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
745
|
+
const len0 = WASM_VECTOR_LEN;
|
|
746
|
+
const ret = wasm.scenecontroller_parseSvgPath(this.__wbg_ptr, ptr0, len0, fill_rule);
|
|
747
|
+
return takeObject(ret);
|
|
748
|
+
}
|
|
749
|
+
pencilShiftDown() {
|
|
750
|
+
wasm.scenecontroller_pencilShiftDown(this.__wbg_ptr);
|
|
751
|
+
}
|
|
752
|
+
pencilShiftUp() {
|
|
753
|
+
wasm.scenecontroller_pencilShiftUp(this.__wbg_ptr);
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* How many async document-asset loads (images, videos, web fonts) are
|
|
757
|
+
* still in flight. Editor-only: the video export preview polls this on
|
|
758
|
+
* its standalone engine to start recording only once the freshly-created
|
|
759
|
+
* scene is fully loaded (the `has*AssetsChanges` flags can only say
|
|
760
|
+
* "something landed this frame", never "nothing is still loading").
|
|
761
|
+
* @returns {number}
|
|
762
|
+
*/
|
|
763
|
+
pendingAssetLoads() {
|
|
764
|
+
const ret = wasm.scenecontroller_pendingAssetLoads(this.__wbg_ptr);
|
|
765
|
+
return ret >>> 0;
|
|
766
|
+
}
|
|
767
|
+
/**
|
|
768
|
+
* @param {ID} frame_id
|
|
769
|
+
*/
|
|
770
|
+
playInEditorFrame(frame_id) {
|
|
771
|
+
wasm.scenecontroller_playInEditorFrame(this.__wbg_ptr, addHeapObject(frame_id));
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
* @param {ID | null} [start_frame]
|
|
775
|
+
* @param {boolean | null} [autoplay_videos]
|
|
776
|
+
*/
|
|
777
|
+
present(start_frame, autoplay_videos) {
|
|
778
|
+
wasm.scenecontroller_present(this.__wbg_ptr, isLikeNone(start_frame) ? 0 : addHeapObject(start_frame), isLikeNone(autoplay_videos) ? 0xFFFFFF : autoplay_videos ? 1 : 0);
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* Editor-only: live-preview a single transition tween on `object_id`, animating
|
|
782
|
+
* from the object's current look to `to_state` (null = base state) using the
|
|
783
|
+
* easing/duration/params in `tween_data` (a `TweenData`). Plays once; forward-only.
|
|
784
|
+
* Snap the object to the desired start state via `resetAllStates` before calling,
|
|
785
|
+
* and `stopPreviewTransition` + `resetAllStates` to revert.
|
|
786
|
+
* @param {ID} object_id
|
|
787
|
+
* @param {ID | null | undefined} to_state
|
|
788
|
+
* @param {any} tween_data
|
|
789
|
+
*/
|
|
790
|
+
previewTransition(object_id, to_state, tween_data) {
|
|
791
|
+
wasm.scenecontroller_previewTransition(this.__wbg_ptr, addHeapObject(object_id), isLikeNone(to_state) ? 0 : addHeapObject(to_state), addHeapObject(tween_data));
|
|
792
|
+
}
|
|
793
|
+
/**
|
|
794
|
+
* @param {ID} id
|
|
795
|
+
* @returns {BoundingBox | undefined}
|
|
796
|
+
*/
|
|
797
|
+
projectionEffectBoundingBox(id) {
|
|
798
|
+
const ret = wasm.scenecontroller_projectionEffectBoundingBox(this.__wbg_ptr, addHeapObject(id));
|
|
799
|
+
return takeObject(ret);
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* @param {Uint8Array} data
|
|
803
|
+
* @param {Uint32Array} selected_verts
|
|
804
|
+
* @returns {Float64Array}
|
|
805
|
+
*/
|
|
806
|
+
readVectorCornerRadiiForSelection(data, selected_verts) {
|
|
807
|
+
const ret = wasm.scenecontroller_readVectorCornerRadiiForSelection(this.__wbg_ptr, addHeapObject(data), addHeapObject(selected_verts));
|
|
808
|
+
return takeObject(ret);
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* @param {Uint8Array} data
|
|
812
|
+
* @returns {number}
|
|
813
|
+
*/
|
|
814
|
+
readVectorCornerSmoothing(data) {
|
|
815
|
+
const ret = wasm.scenecontroller_readVectorCornerSmoothing(this.__wbg_ptr, addHeapObject(data));
|
|
816
|
+
return ret;
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* @param {Uint8Array} data
|
|
820
|
+
* @param {Uint32Array} selected_verts
|
|
821
|
+
* @returns {Float64Array}
|
|
822
|
+
*/
|
|
823
|
+
readVectorVertexPositionsForSelection(data, selected_verts) {
|
|
824
|
+
const ret = wasm.scenecontroller_readVectorVertexPositionsForSelection(this.__wbg_ptr, addHeapObject(data), addHeapObject(selected_verts));
|
|
825
|
+
return takeObject(ret);
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
* Derive the pure-resolution constraint anchor for `child` within `parent` from their current
|
|
829
|
+
* Re-derive a constrained child's runtime-only inset anchor from its current base geometry and
|
|
830
|
+
* stored [`crate::data::AnchorMode`]s. The editor calls this after a *direct* geometry edit of
|
|
831
|
+
* the child (drag/resize/paste/reparent) — NOT on a parent-resize-induced move — so subsequent
|
|
832
|
+
* parent resizes resolve the child purely and drift-free. The insets are never persisted (a pure
|
|
833
|
+
* function of geometry, derived at scene load); this only refreshes the runtime cache.
|
|
834
|
+
* @param {ID} id
|
|
835
|
+
*/
|
|
836
|
+
reanchorObject(id) {
|
|
837
|
+
wasm.scenecontroller_reanchorObject(this.__wbg_ptr, addHeapObject(id));
|
|
838
|
+
}
|
|
839
|
+
/**
|
|
840
|
+
* @param {ID | null | undefined} frame
|
|
841
|
+
* @param {ObjectStateSelection[]} overrides
|
|
842
|
+
*/
|
|
843
|
+
resetAllStates(frame, overrides) {
|
|
844
|
+
const ptr0 = passArrayJsValueToWasm0(overrides, wasm.__wbindgen_export);
|
|
845
|
+
const len0 = WASM_VECTOR_LEN;
|
|
846
|
+
wasm.scenecontroller_resetAllStates(this.__wbg_ptr, isLikeNone(frame) ? 0 : addHeapObject(frame), ptr0, len0);
|
|
847
|
+
}
|
|
848
|
+
/**
|
|
849
|
+
* Resize a group to `(width, height)` by scaling its contents (geometry only), returning the
|
|
850
|
+
* descendants whose geometry changed for the editor to persist. Group self-resize entry point
|
|
851
|
+
* — a group has no size, so free-resizing it scales its children.
|
|
852
|
+
* @param {ID} id
|
|
853
|
+
* @param {number} width
|
|
854
|
+
* @param {number} height
|
|
855
|
+
* @returns {LayoutResult[]}
|
|
856
|
+
*/
|
|
857
|
+
resizeGroup(id, width, height) {
|
|
858
|
+
try {
|
|
859
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
860
|
+
wasm.scenecontroller_resizeGroup(retptr, this.__wbg_ptr, addHeapObject(id), width, height);
|
|
861
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
862
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
863
|
+
var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
|
|
864
|
+
wasm.__wbindgen_export4(r0, r1 * 4, 4);
|
|
865
|
+
return v1;
|
|
866
|
+
} finally {
|
|
867
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
* Save the initial positions of selected vertices and control points
|
|
872
|
+
* Must be called before transform_vector_selection for transforms to work correctly
|
|
873
|
+
*/
|
|
874
|
+
saveVectorSelectionInitialPositions() {
|
|
875
|
+
wasm.scenecontroller_saveVectorSelectionInitialPositions(this.__wbg_ptr);
|
|
876
|
+
}
|
|
877
|
+
/**
|
|
878
|
+
* @param {Float2} pos
|
|
879
|
+
* @returns {Float2}
|
|
880
|
+
*/
|
|
881
|
+
screenToWorld(pos) {
|
|
882
|
+
const ret = wasm.scenecontroller_screenToWorld(this.__wbg_ptr, addHeapObject(pos));
|
|
883
|
+
return takeObject(ret);
|
|
884
|
+
}
|
|
885
|
+
/**
|
|
886
|
+
* @param {number} dt
|
|
887
|
+
* @returns {Promise<void>}
|
|
888
|
+
*/
|
|
889
|
+
seekVideos(dt) {
|
|
890
|
+
const ret = wasm.scenecontroller_seekVideos(this.__wbg_ptr, dt);
|
|
891
|
+
return takeObject(ret);
|
|
892
|
+
}
|
|
893
|
+
/**
|
|
894
|
+
* @param {Uint8Array} data
|
|
895
|
+
* @param {Uint32Array} selected_verts
|
|
896
|
+
* @param {number} radius
|
|
897
|
+
* @returns {Uint8Array | undefined}
|
|
898
|
+
*/
|
|
899
|
+
setBytesForVectorCornerRadiusSelection(data, selected_verts, radius) {
|
|
900
|
+
const ret = wasm.scenecontroller_setBytesForVectorCornerRadiusSelection(this.__wbg_ptr, addHeapObject(data), addHeapObject(selected_verts), radius);
|
|
901
|
+
return takeObject(ret);
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* @param {Uint8Array} data
|
|
905
|
+
* @param {number} corner_smoothing
|
|
906
|
+
* @returns {Uint8Array | undefined}
|
|
907
|
+
*/
|
|
908
|
+
setBytesForVectorCornerSmoothing(data, corner_smoothing) {
|
|
909
|
+
const ret = wasm.scenecontroller_setBytesForVectorCornerSmoothing(this.__wbg_ptr, addHeapObject(data), corner_smoothing);
|
|
910
|
+
return takeObject(ret);
|
|
911
|
+
}
|
|
912
|
+
/**
|
|
913
|
+
* @param {Uint8Array} data
|
|
914
|
+
* @param {Uint32Array} selected_verts
|
|
915
|
+
* @param {number} x
|
|
916
|
+
* @param {number} y
|
|
917
|
+
* @returns {Uint8Array | undefined}
|
|
918
|
+
*/
|
|
919
|
+
setBytesForVectorVertexPositionSelection(data, selected_verts, x, y) {
|
|
920
|
+
const ret = wasm.scenecontroller_setBytesForVectorVertexPositionSelection(this.__wbg_ptr, addHeapObject(data), addHeapObject(selected_verts), x, y);
|
|
921
|
+
return takeObject(ret);
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
* Drive playback of an imported glTF animation on a Model3D shape.
|
|
925
|
+
* `clipIndex` indexes into the shape's Model3DData.animations array; pass null
|
|
926
|
+
* (or a value paired with `isPlaying = false`) to pause.
|
|
927
|
+
* @param {ID} id
|
|
928
|
+
* @param {number | null | undefined} clip_index
|
|
929
|
+
* @param {boolean} is_playing
|
|
930
|
+
*/
|
|
931
|
+
setModel3DAnimation(id, clip_index, is_playing) {
|
|
932
|
+
wasm.scenecontroller_setModel3DAnimation(this.__wbg_ptr, addHeapObject(id), isLikeNone(clip_index) ? Number.MAX_SAFE_INTEGER : (clip_index) >>> 0, is_playing);
|
|
933
|
+
}
|
|
934
|
+
/**
|
|
935
|
+
* Scrub the shape's clip to the given local time in seconds. The renderer
|
|
936
|
+
* picks the new pose up on the next frame.
|
|
937
|
+
* @param {ID} id
|
|
938
|
+
* @param {number} time
|
|
939
|
+
*/
|
|
940
|
+
setModel3DAnimationLocalTime(id, time) {
|
|
941
|
+
wasm.scenecontroller_setModel3DAnimationLocalTime(this.__wbg_ptr, addHeapObject(id), time);
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* @param {Float4} padding
|
|
945
|
+
*/
|
|
946
|
+
setPresentationPadding(padding) {
|
|
947
|
+
wasm.scenecontroller_setPresentationPadding(this.__wbg_ptr, addHeapObject(padding));
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* @param {boolean} show
|
|
951
|
+
*/
|
|
952
|
+
setShowPixelGrid(show) {
|
|
953
|
+
wasm.scenecontroller_setShowPixelGrid(this.__wbg_ptr, show);
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* @param {Uint8Array} state
|
|
957
|
+
*/
|
|
958
|
+
setVectorEditingState(state) {
|
|
959
|
+
try {
|
|
960
|
+
wasm.scenecontroller_setVectorEditingState(this.__wbg_ptr, addBorrowedObject(state));
|
|
961
|
+
} finally {
|
|
962
|
+
heap[stack_pointer++] = undefined;
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
/**
|
|
966
|
+
* @param {any} tool
|
|
967
|
+
*/
|
|
968
|
+
setVectorTool(tool) {
|
|
969
|
+
wasm.scenecontroller_setVectorTool(this.__wbg_ptr, addHeapObject(tool));
|
|
970
|
+
}
|
|
971
|
+
/**
|
|
972
|
+
* Snap a world-space resize handle position against other (non-selected) vertices.
|
|
973
|
+
* `snap_x`/`snap_y` indicate which axes may snap. Returns the snapped world position.
|
|
974
|
+
* @param {Float2} pos
|
|
975
|
+
* @param {boolean} snap_x
|
|
976
|
+
* @param {boolean} snap_y
|
|
977
|
+
* @returns {Float2}
|
|
978
|
+
*/
|
|
979
|
+
snapVectorResizeHandle(pos, snap_x, snap_y) {
|
|
980
|
+
const ret = wasm.scenecontroller_snapVectorResizeHandle(this.__wbg_ptr, addHeapObject(pos), snap_x, snap_y);
|
|
981
|
+
return takeObject(ret);
|
|
982
|
+
}
|
|
983
|
+
start() {
|
|
984
|
+
wasm.scenecontroller_start(this.__wbg_ptr);
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* @param {ID} id
|
|
988
|
+
* @param {number} stroke_width
|
|
989
|
+
* @param {Float4} color
|
|
990
|
+
*/
|
|
991
|
+
startPencil(id, stroke_width, color) {
|
|
992
|
+
wasm.scenecontroller_startPencil(this.__wbg_ptr, addHeapObject(id), stroke_width, addHeapObject(color));
|
|
993
|
+
}
|
|
994
|
+
/**
|
|
995
|
+
* @param {ID} id
|
|
996
|
+
* @param {boolean} creation
|
|
997
|
+
*/
|
|
998
|
+
startVectorEditing(id, creation) {
|
|
999
|
+
wasm.scenecontroller_startVectorEditing(this.__wbg_ptr, addHeapObject(id), creation);
|
|
1000
|
+
}
|
|
1001
|
+
stopInEditorFrame() {
|
|
1002
|
+
wasm.scenecontroller_stopInEditorFrame(this.__wbg_ptr);
|
|
1003
|
+
}
|
|
1004
|
+
stopPencil() {
|
|
1005
|
+
wasm.scenecontroller_stopPencil(this.__wbg_ptr);
|
|
1006
|
+
}
|
|
1007
|
+
stopPresenting() {
|
|
1008
|
+
wasm.scenecontroller_stopPresenting(this.__wbg_ptr);
|
|
1009
|
+
}
|
|
1010
|
+
/**
|
|
1011
|
+
* Editor-only: stop the transition-curve hover preview. Pair with
|
|
1012
|
+
* `resetAllStates` to restore the object to its current state.
|
|
1013
|
+
*/
|
|
1014
|
+
stopPreviewTransition() {
|
|
1015
|
+
wasm.scenecontroller_stopPreviewTransition(this.__wbg_ptr);
|
|
1016
|
+
}
|
|
1017
|
+
stopVectorEditing() {
|
|
1018
|
+
wasm.scenecontroller_stopVectorEditing(this.__wbg_ptr);
|
|
1019
|
+
}
|
|
1020
|
+
/**
|
|
1021
|
+
* @param {ID} shape
|
|
1022
|
+
* @returns {ParseSvgPathResult | undefined}
|
|
1023
|
+
*/
|
|
1024
|
+
strokeShape(shape) {
|
|
1025
|
+
const ret = wasm.scenecontroller_strokeShape(this.__wbg_ptr, addHeapObject(shape));
|
|
1026
|
+
return takeObject(ret);
|
|
1027
|
+
}
|
|
1028
|
+
/**
|
|
1029
|
+
* @param {SceneData} scene_data
|
|
1030
|
+
*/
|
|
1031
|
+
switchScene(scene_data) {
|
|
1032
|
+
wasm.scenecontroller_switchScene(this.__wbg_ptr, addHeapObject(scene_data));
|
|
1033
|
+
}
|
|
1034
|
+
/**
|
|
1035
|
+
* @param {Float2} min
|
|
1036
|
+
* @param {Float2} max
|
|
1037
|
+
* @param {Affine2} world_matrix
|
|
1038
|
+
* @param {ID} align_id
|
|
1039
|
+
* @returns {BoundingBox | undefined}
|
|
1040
|
+
*/
|
|
1041
|
+
transformBoundingBoxByAlignObject(min, max, world_matrix, align_id) {
|
|
1042
|
+
const ret = wasm.scenecontroller_transformBoundingBoxByAlignObject(this.__wbg_ptr, addHeapObject(min), addHeapObject(max), addHeapObject(world_matrix), addHeapObject(align_id));
|
|
1043
|
+
return takeObject(ret);
|
|
1044
|
+
}
|
|
1045
|
+
/**
|
|
1046
|
+
* Transform selected vertices and control points around a center point
|
|
1047
|
+
* center: [x, y] in local coordinates
|
|
1048
|
+
* scale: [scale_x, scale_y] scale factors
|
|
1049
|
+
* rotation_radians: additional rotation in radians
|
|
1050
|
+
* box_rotation_radians: orientation of the resize box (for scaling in rotated space)
|
|
1051
|
+
* @param {Float2} center
|
|
1052
|
+
* @param {Float2} scale
|
|
1053
|
+
* @param {number} rotation_radians
|
|
1054
|
+
* @param {number} box_rotation_radians
|
|
1055
|
+
* @returns {boolean}
|
|
1056
|
+
*/
|
|
1057
|
+
transformVectorSelection(center, scale, rotation_radians, box_rotation_radians) {
|
|
1058
|
+
const ret = wasm.scenecontroller_transformVectorSelection(this.__wbg_ptr, addHeapObject(center), addHeapObject(scale), rotation_radians, box_rotation_radians);
|
|
1059
|
+
return ret !== 0;
|
|
1060
|
+
}
|
|
1061
|
+
/**
|
|
1062
|
+
* @param {ID[]} ids
|
|
1063
|
+
*/
|
|
1064
|
+
triggerEventForObjectIds(ids) {
|
|
1065
|
+
const ptr0 = passArrayJsValueToWasm0(ids, wasm.__wbindgen_export);
|
|
1066
|
+
const len0 = WASM_VECTOR_LEN;
|
|
1067
|
+
wasm.scenecontroller_triggerEventForObjectIds(this.__wbg_ptr, ptr0, len0);
|
|
1068
|
+
}
|
|
1069
|
+
/**
|
|
1070
|
+
* @param {DocumentUpdate} message
|
|
1071
|
+
*/
|
|
1072
|
+
updateByOp(message) {
|
|
1073
|
+
wasm.scenecontroller_updateByOp(this.__wbg_ptr, addHeapObject(message));
|
|
1074
|
+
}
|
|
1075
|
+
updateCached() {
|
|
1076
|
+
wasm.scenecontroller_updateCached(this.__wbg_ptr);
|
|
1077
|
+
}
|
|
1078
|
+
/**
|
|
1079
|
+
* @param {CameraDiff} diff
|
|
1080
|
+
*/
|
|
1081
|
+
updateCamera(diff) {
|
|
1082
|
+
wasm.scenecontroller_updateCamera(this.__wbg_ptr, addHeapObject(diff));
|
|
1083
|
+
}
|
|
1084
|
+
/**
|
|
1085
|
+
* Mirror the document's component-definitions registry into the runtime and
|
|
1086
|
+
* re-expand every virtual instance. The editor calls this after a scene
|
|
1087
|
+
* (re)build (e.g. after `switchScene`) and whenever `DocumentData.components`
|
|
1088
|
+
* or a main component changes. Instance content is realized into the slotmap
|
|
1089
|
+
* from this registry, never stored in the synced document, so there is no
|
|
1090
|
+
* per-instance propagation op and nothing to drift.
|
|
1091
|
+
* @param {any} components
|
|
1092
|
+
*/
|
|
1093
|
+
updateComponents(components) {
|
|
1094
|
+
wasm.scenecontroller_updateComponents(this.__wbg_ptr, addHeapObject(components));
|
|
1095
|
+
}
|
|
1096
|
+
/**
|
|
1097
|
+
* @param {PublishDiff} diff
|
|
1098
|
+
*/
|
|
1099
|
+
updatePublish(diff) {
|
|
1100
|
+
wasm.scenecontroller_updatePublish(this.__wbg_ptr, addHeapObject(diff));
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
* @param {UpdateScene} op
|
|
1104
|
+
*/
|
|
1105
|
+
updateSceneOp(op) {
|
|
1106
|
+
wasm.scenecontroller_updateSceneOp(this.__wbg_ptr, addHeapObject(op));
|
|
1107
|
+
}
|
|
1108
|
+
/**
|
|
1109
|
+
* @param {any} ui_shapes
|
|
1110
|
+
*/
|
|
1111
|
+
updateUiShapes(ui_shapes) {
|
|
1112
|
+
wasm.scenecontroller_updateUiShapes(this.__wbg_ptr, addHeapObject(ui_shapes));
|
|
1113
|
+
}
|
|
1114
|
+
/**
|
|
1115
|
+
* @param {boolean} allowed
|
|
1116
|
+
*/
|
|
1117
|
+
vectorAllowMultiSelect(allowed) {
|
|
1118
|
+
wasm.scenecontroller_vectorAllowMultiSelect(this.__wbg_ptr, allowed);
|
|
1119
|
+
}
|
|
1120
|
+
/**
|
|
1121
|
+
* @param {Float2} start
|
|
1122
|
+
* @param {Float2} end
|
|
1123
|
+
*/
|
|
1124
|
+
vectorBoxSelect(start, end) {
|
|
1125
|
+
wasm.scenecontroller_vectorBoxSelect(this.__wbg_ptr, addHeapObject(start), addHeapObject(end));
|
|
1126
|
+
}
|
|
1127
|
+
/**
|
|
1128
|
+
* Clear any active snap lines/dots (call when a box-driven drag-move ends)
|
|
1129
|
+
*/
|
|
1130
|
+
vectorClearSnapping() {
|
|
1131
|
+
wasm.scenecontroller_vectorClearSnapping(this.__wbg_ptr);
|
|
1132
|
+
}
|
|
1133
|
+
/**
|
|
1134
|
+
* @param {boolean} connect
|
|
1135
|
+
*/
|
|
1136
|
+
vectorDeleteSelection(connect) {
|
|
1137
|
+
wasm.scenecontroller_vectorDeleteSelection(this.__wbg_ptr, connect);
|
|
1138
|
+
}
|
|
1139
|
+
/**
|
|
1140
|
+
* @param {ID} id
|
|
1141
|
+
* @param {Float2} size_delta
|
|
1142
|
+
* @returns {VecNetShapeData | undefined}
|
|
1143
|
+
*/
|
|
1144
|
+
vectorResize(id, size_delta) {
|
|
1145
|
+
const ret = wasm.scenecontroller_vectorResize(this.__wbg_ptr, addHeapObject(id), addHeapObject(size_delta));
|
|
1146
|
+
return takeObject(ret);
|
|
1147
|
+
}
|
|
1148
|
+
/**
|
|
1149
|
+
* @param {Uint8Array} data
|
|
1150
|
+
* @param {Float2} size_delta
|
|
1151
|
+
* @param {number} applied_scale
|
|
1152
|
+
* @returns {VecNetShapeData | undefined}
|
|
1153
|
+
*/
|
|
1154
|
+
vectorResizeWithCornerRadii(data, size_delta, applied_scale) {
|
|
1155
|
+
const ret = wasm.scenecontroller_vectorResizeWithCornerRadii(this.__wbg_ptr, addHeapObject(data), addHeapObject(size_delta), applied_scale);
|
|
1156
|
+
return takeObject(ret);
|
|
1157
|
+
}
|
|
1158
|
+
/**
|
|
1159
|
+
* @param {boolean} value
|
|
1160
|
+
*/
|
|
1161
|
+
vectorSetIsAltPressed(value) {
|
|
1162
|
+
wasm.scenecontroller_vectorSetIsAltPressed(this.__wbg_ptr, value);
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
* @param {boolean} value
|
|
1166
|
+
*/
|
|
1167
|
+
vectorSetIsSnapping(value) {
|
|
1168
|
+
wasm.scenecontroller_vectorSetIsSnapping(this.__wbg_ptr, value);
|
|
1169
|
+
}
|
|
1170
|
+
/**
|
|
1171
|
+
* @param {boolean} value
|
|
1172
|
+
*/
|
|
1173
|
+
vectorSetIsSnappingControlAngles(value) {
|
|
1174
|
+
wasm.scenecontroller_vectorSetIsSnappingControlAngles(this.__wbg_ptr, value);
|
|
1175
|
+
}
|
|
1176
|
+
vectorStopContinueSubpath() {
|
|
1177
|
+
wasm.scenecontroller_vectorStopContinueSubpath(this.__wbg_ptr);
|
|
1178
|
+
}
|
|
1179
|
+
/**
|
|
1180
|
+
* @param {Float2} pos
|
|
1181
|
+
* @returns {Float2}
|
|
1182
|
+
*/
|
|
1183
|
+
worldToScreen(pos) {
|
|
1184
|
+
const ret = wasm.scenecontroller_worldToScreen(this.__wbg_ptr, addHeapObject(pos));
|
|
1185
|
+
return takeObject(ret);
|
|
1186
|
+
}
|
|
1187
|
+
/**
|
|
1188
|
+
* @param {boolean} arg0
|
|
1189
|
+
*/
|
|
1190
|
+
set is_play_mode(arg0) {
|
|
1191
|
+
wasm.__wbg_set_scenecontroller_is_play_mode(this.__wbg_ptr, arg0);
|
|
1192
|
+
}
|
|
1193
|
+
/**
|
|
1194
|
+
* @param {boolean} arg0
|
|
1195
|
+
*/
|
|
1196
|
+
set needs_video_update(arg0) {
|
|
1197
|
+
wasm.__wbg_set_scenecontroller_needs_video_update(this.__wbg_ptr, arg0);
|
|
1198
|
+
}
|
|
1199
|
+
/**
|
|
1200
|
+
* @param {boolean} arg0
|
|
1201
|
+
*/
|
|
1202
|
+
set show_pixel_grid(arg0) {
|
|
1203
|
+
wasm.__wbg_set_scenecontroller_show_pixel_grid(this.__wbg_ptr, arg0);
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
if (Symbol.dispose) SceneController.prototype[Symbol.dispose] = SceneController.prototype.free;
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* Add an instance-only child under a realized node inside a virtual instance,
|
|
1210
|
+
* returning the updated thin link. Adding a node *inside* an instance is recorded
|
|
1211
|
+
* as an `extraChildren` override (the parent isn't a real synced object), so it
|
|
1212
|
+
* survives main edits and re-expansion. Returns `null` if the instance/component
|
|
1213
|
+
* is unknown or `parentRealizedId` is not part of the instance.
|
|
1214
|
+
* @param {any} components
|
|
1215
|
+
* @param {any} instance_id
|
|
1216
|
+
* @param {any} link
|
|
1217
|
+
* @param {any} parent_realized_id
|
|
1218
|
+
* @param {any} child
|
|
1219
|
+
* @returns {any}
|
|
1220
|
+
*/
|
|
1221
|
+
export function addRealizedChild(components, instance_id, link, parent_realized_id, child) {
|
|
1222
|
+
const ret = wasm.addRealizedChild(addHeapObject(components), addHeapObject(instance_id), addHeapObject(link), addHeapObject(parent_realized_id), addHeapObject(child));
|
|
1223
|
+
return takeObject(ret);
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* Compute the ops that bring an instance's `current` materialized subtree back in
|
|
1228
|
+
* sync with its main component (e.g. after the main was edited). Returns a
|
|
1229
|
+
* `DocumentUpdate[]`: one `UpdateObject` per changed node, plus add/delete for
|
|
1230
|
+
* structural changes. Applying them keeps node identity (realized ids are
|
|
1231
|
+
* stable), so undo/redo and collab behave like any other edit.
|
|
1232
|
+
* @param {any} components
|
|
1233
|
+
* @param {any} scene
|
|
1234
|
+
* @param {any} instance_id
|
|
1235
|
+
* @param {any} link
|
|
1236
|
+
* @param {any} current
|
|
1237
|
+
* @returns {any}
|
|
1238
|
+
*/
|
|
1239
|
+
export function componentInstanceRefreshOps(components, scene, instance_id, link, current) {
|
|
1240
|
+
const ret = wasm.componentInstanceRefreshOps(addHeapObject(components), addHeapObject(scene), addHeapObject(instance_id), addHeapObject(link), addHeapObject(current));
|
|
1241
|
+
return takeObject(ret);
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* Capture the overrides implied by a *materialized* instance subtree (the legacy
|
|
1246
|
+
* on-disk form: the root carries `link` and every realized descendant is stored
|
|
1247
|
+
* as a real child) into the thin `ComponentInstanceData`. The editor writes the
|
|
1248
|
+
* returned link back onto the instance root and drops the stored descendants,
|
|
1249
|
+
* completing the materialized -> virtual migration for that instance. Returns
|
|
1250
|
+
* `null` if the component referenced by `link` is unknown.
|
|
1251
|
+
* @param {any} components
|
|
1252
|
+
* @param {any} instance_id
|
|
1253
|
+
* @param {any} link
|
|
1254
|
+
* @param {any} materialized
|
|
1255
|
+
* @returns {any}
|
|
1256
|
+
*/
|
|
1257
|
+
export function dematerializeInstance(components, instance_id, link, materialized) {
|
|
1258
|
+
const ret = wasm.dematerializeInstance(addHeapObject(components), addHeapObject(instance_id), addHeapObject(link), addHeapObject(materialized));
|
|
1259
|
+
return takeObject(ret);
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
* Realize a duplicate of an existing instance: a new instance (root id
|
|
1264
|
+
* `newInstanceId`) that copies `sourceLink`'s overrides, re-keyed for the new
|
|
1265
|
+
* root. Returns the materialized `TreeItem<ObjectData>`, or `null` if the source
|
|
1266
|
+
* component is unknown.
|
|
1267
|
+
* @param {any} components
|
|
1268
|
+
* @param {any} source_instance_id
|
|
1269
|
+
* @param {any} source_link
|
|
1270
|
+
* @param {any} new_instance_id
|
|
1271
|
+
* @returns {any}
|
|
1272
|
+
*/
|
|
1273
|
+
export function duplicateComponentInstance(components, source_instance_id, source_link, new_instance_id) {
|
|
1274
|
+
const ret = wasm.duplicateComponentInstance(addHeapObject(components), addHeapObject(source_instance_id), addHeapObject(source_link), addHeapObject(new_instance_id));
|
|
1275
|
+
return takeObject(ret);
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
/**
|
|
1279
|
+
* Fold an edit on a *realized* node (a node inside a virtual instance, as
|
|
1280
|
+
* returned by hit-testing / shown in the layer tree) into the instance's
|
|
1281
|
+
* overrides, returning the updated thin link to write back onto the instance
|
|
1282
|
+
* root. `newData` is the node's full data after the edit (the editor runs its
|
|
1283
|
+
* command on the realized node, then passes the result here); the delta against
|
|
1284
|
+
* the node's current realized data becomes the override. This is how an
|
|
1285
|
+
* in-instance edit is persisted without materializing. The root's canvas
|
|
1286
|
+
* placement is instance-local and must be applied to the root object directly,
|
|
1287
|
+
* not routed here. Returns `null` if the instance/component is unknown or
|
|
1288
|
+
* `realizedId` is not part of the instance.
|
|
1289
|
+
* @param {any} components
|
|
1290
|
+
* @param {any} instance_id
|
|
1291
|
+
* @param {any} link
|
|
1292
|
+
* @param {any} realized_id
|
|
1293
|
+
* @param {any} new_data
|
|
1294
|
+
* @returns {any}
|
|
1295
|
+
*/
|
|
1296
|
+
export function overrideForRealizedEdit(components, instance_id, link, realized_id, new_data) {
|
|
1297
|
+
const ret = wasm.overrideForRealizedEdit(addHeapObject(components), addHeapObject(instance_id), addHeapObject(link), addHeapObject(realized_id), addHeapObject(new_data));
|
|
1298
|
+
return takeObject(ret);
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* Realize an instance into its materialized subtree, with the component link
|
|
1303
|
+
* stamped onto the root. Returns the `TreeItem<ObjectData>`, or `null` if the
|
|
1304
|
+
* component referenced by `link` is unknown.
|
|
1305
|
+
*
|
|
1306
|
+
* Pass a freshly generated `instanceId` to place a new instance (e.g. when
|
|
1307
|
+
* duplicating a component); the realized descendants get deterministic ids
|
|
1308
|
+
* derived from it.
|
|
1309
|
+
* @param {any} components
|
|
1310
|
+
* @param {any} instance_id
|
|
1311
|
+
* @param {any} link
|
|
1312
|
+
* @returns {any}
|
|
1313
|
+
*/
|
|
1314
|
+
export function realizeComponentInstance(components, instance_id, link) {
|
|
1315
|
+
const ret = wasm.realizeComponentInstance(addHeapObject(components), addHeapObject(instance_id), addHeapObject(link));
|
|
1316
|
+
return takeObject(ret);
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* Mark a realized node inside a virtual instance as structurally removed and
|
|
1321
|
+
* return the updated thin link. Deleting a node inside an instance is expressed
|
|
1322
|
+
* as a `removed` override (the node is not a real synced object), mirroring
|
|
1323
|
+
* Spline's "delete-in-instance becomes an override".
|
|
1324
|
+
* @param {any} components
|
|
1325
|
+
* @param {any} instance_id
|
|
1326
|
+
* @param {any} link
|
|
1327
|
+
* @param {any} realized_id
|
|
1328
|
+
* @returns {any}
|
|
1329
|
+
*/
|
|
1330
|
+
export function removeRealizedNode(components, instance_id, link, realized_id) {
|
|
1331
|
+
const ret = wasm.removeRealizedNode(addHeapObject(components), addHeapObject(instance_id), addHeapObject(link), addHeapObject(realized_id));
|
|
1332
|
+
return takeObject(ret);
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
export function web_init() {
|
|
1336
|
+
wasm.web_init();
|
|
1337
|
+
}
|
|
1338
|
+
function __wbg_get_imports() {
|
|
1339
|
+
const import0 = {
|
|
1340
|
+
__proto__: null,
|
|
1341
|
+
__wbg_Error_ef53bc310eb298a0: function(arg0, arg1) {
|
|
1342
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
1343
|
+
return addHeapObject(ret);
|
|
1344
|
+
},
|
|
1345
|
+
__wbg_Number_6b506e6536831eaa: function(arg0) {
|
|
1346
|
+
const ret = Number(getObject(arg0));
|
|
1347
|
+
return ret;
|
|
1348
|
+
},
|
|
1349
|
+
__wbg_Window_afcc911b2f9c92e2: function(arg0) {
|
|
1350
|
+
const ret = getObject(arg0).Window;
|
|
1351
|
+
return addHeapObject(ret);
|
|
1352
|
+
},
|
|
1353
|
+
__wbg_WorkerGlobalScope_5d19ebc889ff397e: function(arg0) {
|
|
1354
|
+
const ret = getObject(arg0).WorkerGlobalScope;
|
|
1355
|
+
return addHeapObject(ret);
|
|
1356
|
+
},
|
|
1357
|
+
__wbg___wbindgen_bigint_get_as_i64_38130e98eecd467d: function(arg0, arg1) {
|
|
1358
|
+
const v = getObject(arg1);
|
|
1359
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
1360
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
1361
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1362
|
+
},
|
|
1363
|
+
__wbg___wbindgen_boolean_get_1a45e2c38d4d41b9: function(arg0) {
|
|
1364
|
+
const v = getObject(arg0);
|
|
1365
|
+
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
1366
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
1367
|
+
},
|
|
1368
|
+
__wbg___wbindgen_debug_string_0accd80f45e5faa2: function(arg0, arg1) {
|
|
1369
|
+
const ret = debugString(getObject(arg1));
|
|
1370
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1371
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1372
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1373
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1374
|
+
},
|
|
1375
|
+
__wbg___wbindgen_in_70a403a56e771704: function(arg0, arg1) {
|
|
1376
|
+
const ret = getObject(arg0) in getObject(arg1);
|
|
1377
|
+
return ret;
|
|
1378
|
+
},
|
|
1379
|
+
__wbg___wbindgen_is_bigint_6ffd6468a9bc44b9: function(arg0) {
|
|
1380
|
+
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
1381
|
+
return ret;
|
|
1382
|
+
},
|
|
1383
|
+
__wbg___wbindgen_is_function_754e9f305ff6029e: function(arg0) {
|
|
1384
|
+
const ret = typeof(getObject(arg0)) === 'function';
|
|
1385
|
+
return ret;
|
|
1386
|
+
},
|
|
1387
|
+
__wbg___wbindgen_is_null_87c3bfe968c6a5ad: function(arg0) {
|
|
1388
|
+
const ret = getObject(arg0) === null;
|
|
1389
|
+
return ret;
|
|
1390
|
+
},
|
|
1391
|
+
__wbg___wbindgen_is_null_or_undefined_cf617b836541fad3: function(arg0) {
|
|
1392
|
+
const ret = getObject(arg0) == null;
|
|
1393
|
+
return ret;
|
|
1394
|
+
},
|
|
1395
|
+
__wbg___wbindgen_is_object_56732c2bc353f41d: function(arg0) {
|
|
1396
|
+
const val = getObject(arg0);
|
|
1397
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
1398
|
+
return ret;
|
|
1399
|
+
},
|
|
1400
|
+
__wbg___wbindgen_is_string_c236cabd84a4d769: function(arg0) {
|
|
1401
|
+
const ret = typeof(getObject(arg0)) === 'string';
|
|
1402
|
+
return ret;
|
|
1403
|
+
},
|
|
1404
|
+
__wbg___wbindgen_is_undefined_67b456be8673d3d7: function(arg0) {
|
|
1405
|
+
const ret = getObject(arg0) === undefined;
|
|
1406
|
+
return ret;
|
|
1407
|
+
},
|
|
1408
|
+
__wbg___wbindgen_jsval_eq_1068e624fa87f6ab: function(arg0, arg1) {
|
|
1409
|
+
const ret = getObject(arg0) === getObject(arg1);
|
|
1410
|
+
return ret;
|
|
1411
|
+
},
|
|
1412
|
+
__wbg___wbindgen_jsval_loose_eq_2c56564c75129511: function(arg0, arg1) {
|
|
1413
|
+
const ret = getObject(arg0) == getObject(arg1);
|
|
1414
|
+
return ret;
|
|
1415
|
+
},
|
|
1416
|
+
__wbg___wbindgen_number_get_9bb1761122181af2: function(arg0, arg1) {
|
|
1417
|
+
const obj = getObject(arg1);
|
|
1418
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1419
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1420
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1421
|
+
},
|
|
1422
|
+
__wbg___wbindgen_string_get_72bdf95d3ae505b1: function(arg0, arg1) {
|
|
1423
|
+
const obj = getObject(arg1);
|
|
1424
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1425
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1426
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1427
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1428
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1429
|
+
},
|
|
1430
|
+
__wbg___wbindgen_throw_1506f2235d1bdba0: function(arg0, arg1) {
|
|
1431
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1432
|
+
},
|
|
1433
|
+
__wbg__wbg_cb_unref_61db23ac97f16c31: function(arg0) {
|
|
1434
|
+
getObject(arg0)._wbg_cb_unref();
|
|
1435
|
+
},
|
|
1436
|
+
__wbg_activeTexture_7a0d6fe7120979ce: function(arg0, arg1) {
|
|
1437
|
+
getObject(arg0).activeTexture(arg1 >>> 0);
|
|
1438
|
+
},
|
|
1439
|
+
__wbg_activeTexture_dd15c31d50b73529: function(arg0, arg1) {
|
|
1440
|
+
getObject(arg0).activeTexture(arg1 >>> 0);
|
|
1441
|
+
},
|
|
1442
|
+
__wbg_addEventListener_5593b0efd622abd6: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1443
|
+
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
|
|
1444
|
+
}, arguments); },
|
|
1445
|
+
__wbg_arrayBuffer_05927079aabe6d46: function() { return handleError(function (arg0) {
|
|
1446
|
+
const ret = getObject(arg0).arrayBuffer();
|
|
1447
|
+
return addHeapObject(ret);
|
|
1448
|
+
}, arguments); },
|
|
1449
|
+
__wbg_assign_551ec2d000f70c24: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1450
|
+
getObject(arg0).assign(getStringFromWasm0(arg1, arg2));
|
|
1451
|
+
}, arguments); },
|
|
1452
|
+
__wbg_attachShader_5c6a46e7c0fc637a: function(arg0, arg1, arg2) {
|
|
1453
|
+
getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
|
|
1454
|
+
},
|
|
1455
|
+
__wbg_attachShader_c2b12b36afa45936: function(arg0, arg1, arg2) {
|
|
1456
|
+
getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
|
|
1457
|
+
},
|
|
1458
|
+
__wbg_beginComputePass_431a159006c13c7c: function(arg0, arg1) {
|
|
1459
|
+
const ret = getObject(arg0).beginComputePass(getObject(arg1));
|
|
1460
|
+
return addHeapObject(ret);
|
|
1461
|
+
},
|
|
1462
|
+
__wbg_beginRenderPass_aa22c432e793359a: function() { return handleError(function (arg0, arg1) {
|
|
1463
|
+
const ret = getObject(arg0).beginRenderPass(getObject(arg1));
|
|
1464
|
+
return addHeapObject(ret);
|
|
1465
|
+
}, arguments); },
|
|
1466
|
+
__wbg_bindBuffer_3841df88ccee4ed0: function(arg0, arg1, arg2) {
|
|
1467
|
+
getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
|
|
1468
|
+
},
|
|
1469
|
+
__wbg_bindBuffer_aa5dc7dc1c8ad1c8: function(arg0, arg1, arg2) {
|
|
1470
|
+
getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
|
|
1471
|
+
},
|
|
1472
|
+
__wbg_bindFramebuffer_10bbdf7040d89a17: function(arg0, arg1, arg2) {
|
|
1473
|
+
getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));
|
|
1474
|
+
},
|
|
1475
|
+
__wbg_bindFramebuffer_ee8e42543c29c602: function(arg0, arg1, arg2) {
|
|
1476
|
+
getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));
|
|
1477
|
+
},
|
|
1478
|
+
__wbg_bindRenderbuffer_7808d8eabbe18554: function(arg0, arg1, arg2) {
|
|
1479
|
+
getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2));
|
|
1480
|
+
},
|
|
1481
|
+
__wbg_bindRenderbuffer_c0360bfb79c193c2: function(arg0, arg1, arg2) {
|
|
1482
|
+
getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2));
|
|
1483
|
+
},
|
|
1484
|
+
__wbg_bindTexture_28d1d695d4801955: function(arg0, arg1, arg2) {
|
|
1485
|
+
getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
|
|
1486
|
+
},
|
|
1487
|
+
__wbg_bindTexture_a1a012a31e1419d5: function(arg0, arg1, arg2) {
|
|
1488
|
+
getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
|
|
1489
|
+
},
|
|
1490
|
+
__wbg_bindVertexArrayOES_15e48910a5d208b1: function(arg0, arg1) {
|
|
1491
|
+
getObject(arg0).bindVertexArrayOES(getObject(arg1));
|
|
1492
|
+
},
|
|
1493
|
+
__wbg_bindVertexArray_4f2f0a7892280041: function(arg0, arg1) {
|
|
1494
|
+
getObject(arg0).bindVertexArray(getObject(arg1));
|
|
1495
|
+
},
|
|
1496
|
+
__wbg_blendEquation_1ced323efc9ce0f8: function(arg0, arg1) {
|
|
1497
|
+
getObject(arg0).blendEquation(arg1 >>> 0);
|
|
1498
|
+
},
|
|
1499
|
+
__wbg_blendEquation_a12f5acd9d14fb9b: function(arg0, arg1) {
|
|
1500
|
+
getObject(arg0).blendEquation(arg1 >>> 0);
|
|
1501
|
+
},
|
|
1502
|
+
__wbg_blendFunc_d5202c7fe94c67ee: function(arg0, arg1, arg2) {
|
|
1503
|
+
getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
1504
|
+
},
|
|
1505
|
+
__wbg_blendFunc_fbff85cd0fce280e: function(arg0, arg1, arg2) {
|
|
1506
|
+
getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
1507
|
+
},
|
|
1508
|
+
__wbg_blitFramebuffer_acb954bfb30ed714: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
1509
|
+
getObject(arg0).blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0);
|
|
1510
|
+
},
|
|
1511
|
+
__wbg_bufferData_043a7e5da22f40d9: function(arg0, arg1, arg2, arg3) {
|
|
1512
|
+
getObject(arg0).bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
1513
|
+
},
|
|
1514
|
+
__wbg_bufferData_7b6881381d415425: function(arg0, arg1, arg2, arg3) {
|
|
1515
|
+
getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
|
|
1516
|
+
},
|
|
1517
|
+
__wbg_bufferData_9fddca30299e6114: function(arg0, arg1, arg2, arg3) {
|
|
1518
|
+
getObject(arg0).bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
1519
|
+
},
|
|
1520
|
+
__wbg_bufferData_f0837cec09725cc0: function(arg0, arg1, arg2, arg3) {
|
|
1521
|
+
getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
|
|
1522
|
+
},
|
|
1523
|
+
__wbg_bufferSubData_885e4f8d5833cf11: function(arg0, arg1, arg2, arg3) {
|
|
1524
|
+
getObject(arg0).bufferSubData(arg1 >>> 0, arg2, getObject(arg3));
|
|
1525
|
+
},
|
|
1526
|
+
__wbg_bufferSubData_8fc824b6a9503f12: function(arg0, arg1, arg2, arg3) {
|
|
1527
|
+
getObject(arg0).bufferSubData(arg1 >>> 0, arg2, getObject(arg3));
|
|
1528
|
+
},
|
|
1529
|
+
__wbg_call_8a89609d89f6608a: function() { return handleError(function (arg0, arg1) {
|
|
1530
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
1531
|
+
return addHeapObject(ret);
|
|
1532
|
+
}, arguments); },
|
|
1533
|
+
__wbg_call_9c758de292015997: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1534
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
1535
|
+
return addHeapObject(ret);
|
|
1536
|
+
}, arguments); },
|
|
1537
|
+
__wbg_clearBufferfv_2e2858bd8bcf1715: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1538
|
+
getObject(arg0).clearBufferfv(arg1 >>> 0, arg2, getArrayF32FromWasm0(arg3, arg4));
|
|
1539
|
+
},
|
|
1540
|
+
__wbg_clearBufferiv_e356514eb1d165fe: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1541
|
+
getObject(arg0).clearBufferiv(arg1 >>> 0, arg2, getArrayI32FromWasm0(arg3, arg4));
|
|
1542
|
+
},
|
|
1543
|
+
__wbg_compileShader_8810a4868b23621b: function(arg0, arg1) {
|
|
1544
|
+
getObject(arg0).compileShader(getObject(arg1));
|
|
1545
|
+
},
|
|
1546
|
+
__wbg_compileShader_ec8d5eb7f2b70a48: function(arg0, arg1) {
|
|
1547
|
+
getObject(arg0).compileShader(getObject(arg1));
|
|
1548
|
+
},
|
|
1549
|
+
__wbg_configure_0e4789c0f6b35c8e: function() { return handleError(function (arg0, arg1) {
|
|
1550
|
+
getObject(arg0).configure(getObject(arg1));
|
|
1551
|
+
}, arguments); },
|
|
1552
|
+
__wbg_copyBufferSubData_9936fdf5e53e1832: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1553
|
+
getObject(arg0).copyBufferSubData(arg1 >>> 0, arg2 >>> 0, arg3, arg4, arg5);
|
|
1554
|
+
},
|
|
1555
|
+
__wbg_copyBufferToBuffer_5e2cd8f10ae78183: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1556
|
+
getObject(arg0).copyBufferToBuffer(getObject(arg1), arg2, getObject(arg3), arg4);
|
|
1557
|
+
}, arguments); },
|
|
1558
|
+
__wbg_copyBufferToBuffer_ca30deb8de65f5d5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1559
|
+
getObject(arg0).copyBufferToBuffer(getObject(arg1), arg2, getObject(arg3), arg4, arg5);
|
|
1560
|
+
}, arguments); },
|
|
1561
|
+
__wbg_copyExternalImageToTexture_4df105bb39517948: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1562
|
+
getObject(arg0).copyExternalImageToTexture(getObject(arg1), getObject(arg2), getObject(arg3));
|
|
1563
|
+
}, arguments); },
|
|
1564
|
+
__wbg_copyTextureToBuffer_ed6e67a77ecb768d: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1565
|
+
getObject(arg0).copyTextureToBuffer(getObject(arg1), getObject(arg2), getObject(arg3));
|
|
1566
|
+
}, arguments); },
|
|
1567
|
+
__wbg_createBindGroupLayout_49a7e2b3d076afcf: function() { return handleError(function (arg0, arg1) {
|
|
1568
|
+
const ret = getObject(arg0).createBindGroupLayout(getObject(arg1));
|
|
1569
|
+
return addHeapObject(ret);
|
|
1570
|
+
}, arguments); },
|
|
1571
|
+
__wbg_createBindGroup_655c6e6c0258530e: function(arg0, arg1) {
|
|
1572
|
+
const ret = getObject(arg0).createBindGroup(getObject(arg1));
|
|
1573
|
+
return addHeapObject(ret);
|
|
1574
|
+
},
|
|
1575
|
+
__wbg_createBuffer_0726dd2ab09ea1d2: function() { return handleError(function (arg0, arg1) {
|
|
1576
|
+
const ret = getObject(arg0).createBuffer(getObject(arg1));
|
|
1577
|
+
return addHeapObject(ret);
|
|
1578
|
+
}, arguments); },
|
|
1579
|
+
__wbg_createBuffer_333d6aae40284594: function(arg0) {
|
|
1580
|
+
const ret = getObject(arg0).createBuffer();
|
|
1581
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1582
|
+
},
|
|
1583
|
+
__wbg_createBuffer_3ae54605e5676c83: function(arg0) {
|
|
1584
|
+
const ret = getObject(arg0).createBuffer();
|
|
1585
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1586
|
+
},
|
|
1587
|
+
__wbg_createCommandEncoder_ec1f40f0cb4d09df: function(arg0, arg1) {
|
|
1588
|
+
const ret = getObject(arg0).createCommandEncoder(getObject(arg1));
|
|
1589
|
+
return addHeapObject(ret);
|
|
1590
|
+
},
|
|
1591
|
+
__wbg_createComputePipelineAsync_afe7021ac5a02993: function(arg0, arg1) {
|
|
1592
|
+
const ret = getObject(arg0).createComputePipelineAsync(getObject(arg1));
|
|
1593
|
+
return addHeapObject(ret);
|
|
1594
|
+
},
|
|
1595
|
+
__wbg_createFramebuffer_6f42ff976bb98152: function(arg0) {
|
|
1596
|
+
const ret = getObject(arg0).createFramebuffer();
|
|
1597
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1598
|
+
},
|
|
1599
|
+
__wbg_createFramebuffer_ef1247e8b2e9b09f: function(arg0) {
|
|
1600
|
+
const ret = getObject(arg0).createFramebuffer();
|
|
1601
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1602
|
+
},
|
|
1603
|
+
__wbg_createPipelineLayout_2c8cd4528b06c108: function(arg0, arg1) {
|
|
1604
|
+
const ret = getObject(arg0).createPipelineLayout(getObject(arg1));
|
|
1605
|
+
return addHeapObject(ret);
|
|
1606
|
+
},
|
|
1607
|
+
__wbg_createProgram_b48c3323af547213: function(arg0) {
|
|
1608
|
+
const ret = getObject(arg0).createProgram();
|
|
1609
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1610
|
+
},
|
|
1611
|
+
__wbg_createProgram_f6a8df4491031d57: function(arg0) {
|
|
1612
|
+
const ret = getObject(arg0).createProgram();
|
|
1613
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1614
|
+
},
|
|
1615
|
+
__wbg_createQuerySet_cb7b21d1d405b890: function() { return handleError(function (arg0, arg1) {
|
|
1616
|
+
const ret = getObject(arg0).createQuerySet(getObject(arg1));
|
|
1617
|
+
return addHeapObject(ret);
|
|
1618
|
+
}, arguments); },
|
|
1619
|
+
__wbg_createRenderPipelineAsync_eecad1e54ef27acf: function(arg0, arg1) {
|
|
1620
|
+
const ret = getObject(arg0).createRenderPipelineAsync(getObject(arg1));
|
|
1621
|
+
return addHeapObject(ret);
|
|
1622
|
+
},
|
|
1623
|
+
__wbg_createRenderPipeline_cf98d4d699bfb03c: function() { return handleError(function (arg0, arg1) {
|
|
1624
|
+
const ret = getObject(arg0).createRenderPipeline(getObject(arg1));
|
|
1625
|
+
return addHeapObject(ret);
|
|
1626
|
+
}, arguments); },
|
|
1627
|
+
__wbg_createRenderbuffer_a2f947c7fa8c8bf0: function(arg0) {
|
|
1628
|
+
const ret = getObject(arg0).createRenderbuffer();
|
|
1629
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1630
|
+
},
|
|
1631
|
+
__wbg_createRenderbuffer_c09d5809ac95924e: function(arg0) {
|
|
1632
|
+
const ret = getObject(arg0).createRenderbuffer();
|
|
1633
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1634
|
+
},
|
|
1635
|
+
__wbg_createSampler_c8ffb3c8d565f704: function(arg0, arg1) {
|
|
1636
|
+
const ret = getObject(arg0).createSampler(getObject(arg1));
|
|
1637
|
+
return addHeapObject(ret);
|
|
1638
|
+
},
|
|
1639
|
+
__wbg_createShaderModule_2e44fc7677c6288b: function(arg0, arg1) {
|
|
1640
|
+
const ret = getObject(arg0).createShaderModule(getObject(arg1));
|
|
1641
|
+
return addHeapObject(ret);
|
|
1642
|
+
},
|
|
1643
|
+
__wbg_createShader_0e3f814b69e9e184: function(arg0, arg1) {
|
|
1644
|
+
const ret = getObject(arg0).createShader(arg1 >>> 0);
|
|
1645
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1646
|
+
},
|
|
1647
|
+
__wbg_createShader_383b3295276271d2: function(arg0, arg1) {
|
|
1648
|
+
const ret = getObject(arg0).createShader(arg1 >>> 0);
|
|
1649
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1650
|
+
},
|
|
1651
|
+
__wbg_createTexture_1bac74c999b8a48e: function() { return handleError(function (arg0, arg1) {
|
|
1652
|
+
const ret = getObject(arg0).createTexture(getObject(arg1));
|
|
1653
|
+
return addHeapObject(ret);
|
|
1654
|
+
}, arguments); },
|
|
1655
|
+
__wbg_createTexture_461a3048c40e7175: function(arg0) {
|
|
1656
|
+
const ret = getObject(arg0).createTexture();
|
|
1657
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1658
|
+
},
|
|
1659
|
+
__wbg_createTexture_d6e2c1f04a554a15: function(arg0) {
|
|
1660
|
+
const ret = getObject(arg0).createTexture();
|
|
1661
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1662
|
+
},
|
|
1663
|
+
__wbg_createVertexArrayOES_2f67d3679ba9a29c: function(arg0) {
|
|
1664
|
+
const ret = getObject(arg0).createVertexArrayOES();
|
|
1665
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1666
|
+
},
|
|
1667
|
+
__wbg_createVertexArray_febd1d11636d15ad: function(arg0) {
|
|
1668
|
+
const ret = getObject(arg0).createVertexArray();
|
|
1669
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1670
|
+
},
|
|
1671
|
+
__wbg_createView_ceaf2f5881adbd34: function() { return handleError(function (arg0, arg1) {
|
|
1672
|
+
const ret = getObject(arg0).createView(getObject(arg1));
|
|
1673
|
+
return addHeapObject(ret);
|
|
1674
|
+
}, arguments); },
|
|
1675
|
+
__wbg_cullFace_a4ee8b8c3c126388: function(arg0, arg1) {
|
|
1676
|
+
getObject(arg0).cullFace(arg1 >>> 0);
|
|
1677
|
+
},
|
|
1678
|
+
__wbg_cullFace_c6b39a55ccade015: function(arg0, arg1) {
|
|
1679
|
+
getObject(arg0).cullFace(arg1 >>> 0);
|
|
1680
|
+
},
|
|
1681
|
+
__wbg_debug_78b457f1effb3792: function(arg0) {
|
|
1682
|
+
console.debug(getObject(arg0));
|
|
1683
|
+
},
|
|
1684
|
+
__wbg_deleteBuffer_520156dc8a1f81af: function(arg0, arg1) {
|
|
1685
|
+
getObject(arg0).deleteBuffer(getObject(arg1));
|
|
1686
|
+
},
|
|
1687
|
+
__wbg_deleteBuffer_a925fdd1b590fbbc: function(arg0, arg1) {
|
|
1688
|
+
getObject(arg0).deleteBuffer(getObject(arg1));
|
|
1689
|
+
},
|
|
1690
|
+
__wbg_deleteFramebuffer_aa4bf9f184123318: function(arg0, arg1) {
|
|
1691
|
+
getObject(arg0).deleteFramebuffer(getObject(arg1));
|
|
1692
|
+
},
|
|
1693
|
+
__wbg_deleteFramebuffer_cc043e5a8cb9a556: function(arg0, arg1) {
|
|
1694
|
+
getObject(arg0).deleteFramebuffer(getObject(arg1));
|
|
1695
|
+
},
|
|
1696
|
+
__wbg_deleteProgram_0c859ebcab2b7b5a: function(arg0, arg1) {
|
|
1697
|
+
getObject(arg0).deleteProgram(getObject(arg1));
|
|
1698
|
+
},
|
|
1699
|
+
__wbg_deleteProgram_df6a6609c7d91a6e: function(arg0, arg1) {
|
|
1700
|
+
getObject(arg0).deleteProgram(getObject(arg1));
|
|
1701
|
+
},
|
|
1702
|
+
__wbg_deleteRenderbuffer_37c079dbc257fcf9: function(arg0, arg1) {
|
|
1703
|
+
getObject(arg0).deleteRenderbuffer(getObject(arg1));
|
|
1704
|
+
},
|
|
1705
|
+
__wbg_deleteRenderbuffer_4b7a888363766554: function(arg0, arg1) {
|
|
1706
|
+
getObject(arg0).deleteRenderbuffer(getObject(arg1));
|
|
1707
|
+
},
|
|
1708
|
+
__wbg_deleteShader_170dea06bd074d01: function(arg0, arg1) {
|
|
1709
|
+
getObject(arg0).deleteShader(getObject(arg1));
|
|
1710
|
+
},
|
|
1711
|
+
__wbg_deleteShader_944accd60733a9cb: function(arg0, arg1) {
|
|
1712
|
+
getObject(arg0).deleteShader(getObject(arg1));
|
|
1713
|
+
},
|
|
1714
|
+
__wbg_deleteTexture_54dee8e15570751e: function(arg0, arg1) {
|
|
1715
|
+
getObject(arg0).deleteTexture(getObject(arg1));
|
|
1716
|
+
},
|
|
1717
|
+
__wbg_deleteTexture_be3eaabebb89a85e: function(arg0, arg1) {
|
|
1718
|
+
getObject(arg0).deleteTexture(getObject(arg1));
|
|
1719
|
+
},
|
|
1720
|
+
__wbg_deleteVertexArrayOES_4262d2d0e9fb77c5: function(arg0, arg1) {
|
|
1721
|
+
getObject(arg0).deleteVertexArrayOES(getObject(arg1));
|
|
1722
|
+
},
|
|
1723
|
+
__wbg_deleteVertexArray_8f0fb3b3d54c7483: function(arg0, arg1) {
|
|
1724
|
+
getObject(arg0).deleteVertexArray(getObject(arg1));
|
|
1725
|
+
},
|
|
1726
|
+
__wbg_depthMask_95332b64c5ef8b45: function(arg0, arg1) {
|
|
1727
|
+
getObject(arg0).depthMask(arg1 !== 0);
|
|
1728
|
+
},
|
|
1729
|
+
__wbg_depthMask_f55bea4b6c3b9531: function(arg0, arg1) {
|
|
1730
|
+
getObject(arg0).depthMask(arg1 !== 0);
|
|
1731
|
+
},
|
|
1732
|
+
__wbg_description_02485704e69b1e7f: function(arg0, arg1) {
|
|
1733
|
+
const ret = getObject(arg1).description;
|
|
1734
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1735
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1736
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1737
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1738
|
+
},
|
|
1739
|
+
__wbg_disable_2cf98ccb81612ef9: function(arg0, arg1) {
|
|
1740
|
+
getObject(arg0).disable(arg1 >>> 0);
|
|
1741
|
+
},
|
|
1742
|
+
__wbg_disable_6b825656c54f5646: function(arg0, arg1) {
|
|
1743
|
+
getObject(arg0).disable(arg1 >>> 0);
|
|
1744
|
+
},
|
|
1745
|
+
__wbg_dispatchWorkgroups_afb2344298c62227: function(arg0, arg1, arg2, arg3) {
|
|
1746
|
+
getObject(arg0).dispatchWorkgroups(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);
|
|
1747
|
+
},
|
|
1748
|
+
__wbg_document_aceb08cd6489baf5: function(arg0) {
|
|
1749
|
+
const ret = getObject(arg0).document;
|
|
1750
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1751
|
+
},
|
|
1752
|
+
__wbg_done_60cf307fcc680536: function(arg0) {
|
|
1753
|
+
const ret = getObject(arg0).done;
|
|
1754
|
+
return ret;
|
|
1755
|
+
},
|
|
1756
|
+
__wbg_drawArrays_6eb87620c1dcbfb4: function(arg0, arg1, arg2, arg3) {
|
|
1757
|
+
getObject(arg0).drawArrays(arg1 >>> 0, arg2, arg3);
|
|
1758
|
+
},
|
|
1759
|
+
__wbg_drawArrays_f332b526550a641e: function(arg0, arg1, arg2, arg3) {
|
|
1760
|
+
getObject(arg0).drawArrays(arg1 >>> 0, arg2, arg3);
|
|
1761
|
+
},
|
|
1762
|
+
__wbg_drawBuffersWEBGL_10cdfe87c17cd93f: function(arg0, arg1) {
|
|
1763
|
+
getObject(arg0).drawBuffersWEBGL(getObject(arg1));
|
|
1764
|
+
},
|
|
1765
|
+
__wbg_drawBuffers_c5a9ee312b2d6fa8: function(arg0, arg1) {
|
|
1766
|
+
getObject(arg0).drawBuffers(getObject(arg1));
|
|
1767
|
+
},
|
|
1768
|
+
__wbg_drawElements_23ec4847dad548e0: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1769
|
+
getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
|
|
1770
|
+
},
|
|
1771
|
+
__wbg_drawElements_fe4671e9c358058d: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1772
|
+
getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
|
|
1773
|
+
},
|
|
1774
|
+
__wbg_drawIndexed_d31913e79d58fbac: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1775
|
+
getObject(arg0).drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
1776
|
+
},
|
|
1777
|
+
__wbg_draw_6877f98847e1e36c: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1778
|
+
getObject(arg0).draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
1779
|
+
},
|
|
1780
|
+
__wbg_duration_d6a6a568a0baf72d: function(arg0) {
|
|
1781
|
+
const ret = getObject(arg0).duration;
|
|
1782
|
+
return ret;
|
|
1783
|
+
},
|
|
1784
|
+
__wbg_enableVertexAttribArray_cc09a0312b6adee5: function(arg0, arg1) {
|
|
1785
|
+
getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
|
|
1786
|
+
},
|
|
1787
|
+
__wbg_enableVertexAttribArray_f88d3d499ab40ea6: function(arg0, arg1) {
|
|
1788
|
+
getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
|
|
1789
|
+
},
|
|
1790
|
+
__wbg_enable_1928c361308989d5: function(arg0, arg1) {
|
|
1791
|
+
getObject(arg0).enable(arg1 >>> 0);
|
|
1792
|
+
},
|
|
1793
|
+
__wbg_enable_2cc4ff32a0fd985f: function(arg0, arg1) {
|
|
1794
|
+
getObject(arg0).enable(arg1 >>> 0);
|
|
1795
|
+
},
|
|
1796
|
+
__wbg_end_c36889de8ddef882: function(arg0) {
|
|
1797
|
+
getObject(arg0).end();
|
|
1798
|
+
},
|
|
1799
|
+
__wbg_end_f99ebed53d4e198a: function(arg0) {
|
|
1800
|
+
getObject(arg0).end();
|
|
1801
|
+
},
|
|
1802
|
+
__wbg_engine_new: function(arg0) {
|
|
1803
|
+
const ret = Engine.__wrap(arg0);
|
|
1804
|
+
return addHeapObject(ret);
|
|
1805
|
+
},
|
|
1806
|
+
__wbg_entries_04b37a02507f1713: function(arg0) {
|
|
1807
|
+
const ret = Object.entries(getObject(arg0));
|
|
1808
|
+
return addHeapObject(ret);
|
|
1809
|
+
},
|
|
1810
|
+
__wbg_error_78ff5b3a29b770e0: function(arg0) {
|
|
1811
|
+
console.error(getObject(arg0));
|
|
1812
|
+
},
|
|
1813
|
+
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
1814
|
+
let deferred0_0;
|
|
1815
|
+
let deferred0_1;
|
|
1816
|
+
try {
|
|
1817
|
+
deferred0_0 = arg0;
|
|
1818
|
+
deferred0_1 = arg1;
|
|
1819
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
1820
|
+
} finally {
|
|
1821
|
+
wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
|
|
1822
|
+
}
|
|
1823
|
+
},
|
|
1824
|
+
__wbg_features_2b07a28fe18ad0ce: function(arg0) {
|
|
1825
|
+
const ret = getObject(arg0).features;
|
|
1826
|
+
return addHeapObject(ret);
|
|
1827
|
+
},
|
|
1828
|
+
__wbg_features_d4d2020319592cbe: function(arg0) {
|
|
1829
|
+
const ret = getObject(arg0).features;
|
|
1830
|
+
return addHeapObject(ret);
|
|
1831
|
+
},
|
|
1832
|
+
__wbg_fetch_ce1af4d1b59a60be: function(arg0, arg1) {
|
|
1833
|
+
const ret = getObject(arg0).fetch(getObject(arg1));
|
|
1834
|
+
return addHeapObject(ret);
|
|
1835
|
+
},
|
|
1836
|
+
__wbg_finish_4d91de5e927dd13f: function(arg0, arg1) {
|
|
1837
|
+
const ret = getObject(arg0).finish(getObject(arg1));
|
|
1838
|
+
return addHeapObject(ret);
|
|
1839
|
+
},
|
|
1840
|
+
__wbg_finish_6e06b68ab68cd9f6: function(arg0) {
|
|
1841
|
+
const ret = getObject(arg0).finish();
|
|
1842
|
+
return addHeapObject(ret);
|
|
1843
|
+
},
|
|
1844
|
+
__wbg_flush_2088ebca1fd13068: function(arg0) {
|
|
1845
|
+
getObject(arg0).flush();
|
|
1846
|
+
},
|
|
1847
|
+
__wbg_flush_3be48fce9f195fa5: function(arg0) {
|
|
1848
|
+
getObject(arg0).flush();
|
|
1849
|
+
},
|
|
1850
|
+
__wbg_framebufferRenderbuffer_0c9d0e5587497683: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1851
|
+
getObject(arg0).framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4));
|
|
1852
|
+
},
|
|
1853
|
+
__wbg_framebufferRenderbuffer_599e58ad30dcfeb3: function(arg0, arg1, arg2, arg3, arg4) {
|
|
1854
|
+
getObject(arg0).framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4));
|
|
1855
|
+
},
|
|
1856
|
+
__wbg_framebufferTexture2D_44caed1725e57636: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1857
|
+
getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5);
|
|
1858
|
+
},
|
|
1859
|
+
__wbg_framebufferTexture2D_fbba21b750c2316a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1860
|
+
getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5);
|
|
1861
|
+
},
|
|
1862
|
+
__wbg_from_d300fe49deab18f5: function(arg0) {
|
|
1863
|
+
const ret = Array.from(getObject(arg0));
|
|
1864
|
+
return addHeapObject(ret);
|
|
1865
|
+
},
|
|
1866
|
+
__wbg_generateMipmap_1403959fc241438f: function(arg0, arg1) {
|
|
1867
|
+
getObject(arg0).generateMipmap(arg1 >>> 0);
|
|
1868
|
+
},
|
|
1869
|
+
__wbg_generateMipmap_b261c040d5707fe5: function(arg0, arg1) {
|
|
1870
|
+
getObject(arg0).generateMipmap(arg1 >>> 0);
|
|
1871
|
+
},
|
|
1872
|
+
__wbg_getActiveUniform_3a275fd8fdf7a327: function(arg0, arg1, arg2) {
|
|
1873
|
+
const ret = getObject(arg0).getActiveUniform(getObject(arg1), arg2 >>> 0);
|
|
1874
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1875
|
+
},
|
|
1876
|
+
__wbg_getActiveUniform_86f7a30e1a52aca4: function(arg0, arg1, arg2) {
|
|
1877
|
+
const ret = getObject(arg0).getActiveUniform(getObject(arg1), arg2 >>> 0);
|
|
1878
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1879
|
+
},
|
|
1880
|
+
__wbg_getContext_469d34698d869fc1: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1881
|
+
const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
|
|
1882
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1883
|
+
}, arguments); },
|
|
1884
|
+
__wbg_getContext_5b39fff76491fded: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1885
|
+
const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
1886
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1887
|
+
}, arguments); },
|
|
1888
|
+
__wbg_getContext_7d3a8f461c828713: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1889
|
+
const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
|
|
1890
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1891
|
+
}, arguments); },
|
|
1892
|
+
__wbg_getCurrentTexture_20714d1bd9051cab: function() { return handleError(function (arg0) {
|
|
1893
|
+
const ret = getObject(arg0).getCurrentTexture();
|
|
1894
|
+
return addHeapObject(ret);
|
|
1895
|
+
}, arguments); },
|
|
1896
|
+
__wbg_getExtension_454cdc5ffd07bf03: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1897
|
+
const ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2));
|
|
1898
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1899
|
+
}, arguments); },
|
|
1900
|
+
__wbg_getMappedRange_d0bf3141224111b6: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1901
|
+
const ret = getObject(arg0).getMappedRange(arg1, arg2);
|
|
1902
|
+
return addHeapObject(ret);
|
|
1903
|
+
}, arguments); },
|
|
1904
|
+
__wbg_getParameter_015942a7ad566b20: function() { return handleError(function (arg0, arg1) {
|
|
1905
|
+
const ret = getObject(arg0).getParameter(arg1 >>> 0);
|
|
1906
|
+
return addHeapObject(ret);
|
|
1907
|
+
}, arguments); },
|
|
1908
|
+
__wbg_getParameter_1e77e23f5ccf0300: function() { return handleError(function (arg0, arg1) {
|
|
1909
|
+
const ret = getObject(arg0).getParameter(arg1 >>> 0);
|
|
1910
|
+
return addHeapObject(ret);
|
|
1911
|
+
}, arguments); },
|
|
1912
|
+
__wbg_getPreferredCanvasFormat_8b57039d1801a506: function(arg0) {
|
|
1913
|
+
const ret = getObject(arg0).getPreferredCanvasFormat();
|
|
1914
|
+
return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 102) - 1;
|
|
1915
|
+
},
|
|
1916
|
+
__wbg_getProgramInfoLog_2f9cfcecc4f772e1: function(arg0, arg1, arg2) {
|
|
1917
|
+
const ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
|
|
1918
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1919
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1920
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1921
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1922
|
+
},
|
|
1923
|
+
__wbg_getProgramInfoLog_f0d48f606547aed7: function(arg0, arg1, arg2) {
|
|
1924
|
+
const ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
|
|
1925
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1926
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1927
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1928
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1929
|
+
},
|
|
1930
|
+
__wbg_getProgramParameter_08beabb2736d5769: function(arg0, arg1, arg2) {
|
|
1931
|
+
const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
|
|
1932
|
+
return addHeapObject(ret);
|
|
1933
|
+
},
|
|
1934
|
+
__wbg_getProgramParameter_aee848e1db52b7cd: function(arg0, arg1, arg2) {
|
|
1935
|
+
const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
|
|
1936
|
+
return addHeapObject(ret);
|
|
1937
|
+
},
|
|
1938
|
+
__wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
|
|
1939
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1940
|
+
}, arguments); },
|
|
1941
|
+
__wbg_getRandomValues_bf16787eede473f5: function() { return handleError(function (arg0, arg1) {
|
|
1942
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1943
|
+
}, arguments); },
|
|
1944
|
+
__wbg_getShaderInfoLog_510365af17f29a35: function(arg0, arg1, arg2) {
|
|
1945
|
+
const ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
|
|
1946
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1947
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1948
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1949
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1950
|
+
},
|
|
1951
|
+
__wbg_getShaderInfoLog_cd77c7b7bdb9ce65: function(arg0, arg1, arg2) {
|
|
1952
|
+
const ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
|
|
1953
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
1954
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1955
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1956
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1957
|
+
},
|
|
1958
|
+
__wbg_getSupportedExtensions_7a31b3412a25d9ba: function(arg0) {
|
|
1959
|
+
const ret = getObject(arg0).getSupportedExtensions();
|
|
1960
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1961
|
+
},
|
|
1962
|
+
__wbg_getUniformLocation_010256f946f9a865: function(arg0, arg1, arg2, arg3) {
|
|
1963
|
+
const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
1964
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1965
|
+
},
|
|
1966
|
+
__wbg_getUniformLocation_f9774d4f157f5914: function(arg0, arg1, arg2, arg3) {
|
|
1967
|
+
const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
1968
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1969
|
+
},
|
|
1970
|
+
__wbg_get_1f8f054ddbaa7db2: function() { return handleError(function (arg0, arg1) {
|
|
1971
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
1972
|
+
return addHeapObject(ret);
|
|
1973
|
+
}, arguments); },
|
|
1974
|
+
__wbg_get_2b48c7d0d006a781: function(arg0, arg1) {
|
|
1975
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
1976
|
+
return addHeapObject(ret);
|
|
1977
|
+
},
|
|
1978
|
+
__wbg_get_cb935c1402921898: function(arg0, arg1) {
|
|
1979
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
1980
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
1981
|
+
},
|
|
1982
|
+
__wbg_get_de6a0f7d4d18a304: function() { return handleError(function (arg0, arg1) {
|
|
1983
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
1984
|
+
return addHeapObject(ret);
|
|
1985
|
+
}, arguments); },
|
|
1986
|
+
__wbg_get_unchecked_33f6e5c9e2f2d6b2: function(arg0, arg1) {
|
|
1987
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
1988
|
+
return addHeapObject(ret);
|
|
1989
|
+
},
|
|
1990
|
+
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
1991
|
+
const ret = getObject(arg0)[getObject(arg1)];
|
|
1992
|
+
return addHeapObject(ret);
|
|
1993
|
+
},
|
|
1994
|
+
__wbg_get_with_ref_key_7e638bba08a44478: function(arg0, arg1) {
|
|
1995
|
+
const ret = getObject(arg0)[getObject(arg1)];
|
|
1996
|
+
return addHeapObject(ret);
|
|
1997
|
+
},
|
|
1998
|
+
__wbg_gpu_2ccc250735d24a2a: function(arg0) {
|
|
1999
|
+
const ret = getObject(arg0).gpu;
|
|
2000
|
+
return addHeapObject(ret);
|
|
2001
|
+
},
|
|
2002
|
+
__wbg_has_0c97053e877f47cc: function(arg0, arg1, arg2) {
|
|
2003
|
+
const ret = getObject(arg0).has(getStringFromWasm0(arg1, arg2));
|
|
2004
|
+
return ret;
|
|
2005
|
+
},
|
|
2006
|
+
__wbg_has_73740b27f436fed3: function() { return handleError(function (arg0, arg1) {
|
|
2007
|
+
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
2008
|
+
return ret;
|
|
2009
|
+
}, arguments); },
|
|
2010
|
+
__wbg_height_4e7694e4e2110bdb: function(arg0) {
|
|
2011
|
+
const ret = getObject(arg0).height;
|
|
2012
|
+
return ret;
|
|
2013
|
+
},
|
|
2014
|
+
__wbg_info_af7f45292ba9b0ea: function(arg0) {
|
|
2015
|
+
console.info(getObject(arg0));
|
|
2016
|
+
},
|
|
2017
|
+
__wbg_info_cf0d9a286850cd24: function(arg0) {
|
|
2018
|
+
const ret = getObject(arg0).info;
|
|
2019
|
+
return addHeapObject(ret);
|
|
2020
|
+
},
|
|
2021
|
+
__wbg_innerHeight_8b6ee2571dbedb9d: function() { return handleError(function (arg0) {
|
|
2022
|
+
const ret = getObject(arg0).innerHeight;
|
|
2023
|
+
return addHeapObject(ret);
|
|
2024
|
+
}, arguments); },
|
|
2025
|
+
__wbg_innerWidth_7475bec19f48fe43: function() { return handleError(function (arg0) {
|
|
2026
|
+
const ret = getObject(arg0).innerWidth;
|
|
2027
|
+
return addHeapObject(ret);
|
|
2028
|
+
}, arguments); },
|
|
2029
|
+
__wbg_instanceof_ArrayBuffer_8f49811467741499: function(arg0) {
|
|
2030
|
+
let result;
|
|
2031
|
+
try {
|
|
2032
|
+
result = getObject(arg0) instanceof ArrayBuffer;
|
|
2033
|
+
} catch (_) {
|
|
2034
|
+
result = false;
|
|
2035
|
+
}
|
|
2036
|
+
const ret = result;
|
|
2037
|
+
return ret;
|
|
2038
|
+
},
|
|
2039
|
+
__wbg_instanceof_GpuOutOfMemoryError_6429c750997f1c8d: function(arg0) {
|
|
2040
|
+
let result;
|
|
2041
|
+
try {
|
|
2042
|
+
result = getObject(arg0) instanceof GPUOutOfMemoryError;
|
|
2043
|
+
} catch (_) {
|
|
2044
|
+
result = false;
|
|
2045
|
+
}
|
|
2046
|
+
const ret = result;
|
|
2047
|
+
return ret;
|
|
2048
|
+
},
|
|
2049
|
+
__wbg_instanceof_GpuValidationError_75fa3611f065f4df: function(arg0) {
|
|
2050
|
+
let result;
|
|
2051
|
+
try {
|
|
2052
|
+
result = getObject(arg0) instanceof GPUValidationError;
|
|
2053
|
+
} catch (_) {
|
|
2054
|
+
result = false;
|
|
2055
|
+
}
|
|
2056
|
+
const ret = result;
|
|
2057
|
+
return ret;
|
|
2058
|
+
},
|
|
2059
|
+
__wbg_instanceof_HtmlVideoElement_95590e1ff107ba83: function(arg0) {
|
|
2060
|
+
let result;
|
|
2061
|
+
try {
|
|
2062
|
+
result = getObject(arg0) instanceof HTMLVideoElement;
|
|
2063
|
+
} catch (_) {
|
|
2064
|
+
result = false;
|
|
2065
|
+
}
|
|
2066
|
+
const ret = result;
|
|
2067
|
+
return ret;
|
|
2068
|
+
},
|
|
2069
|
+
__wbg_instanceof_ImageBitmap_beed1259521cd66d: function(arg0) {
|
|
2070
|
+
let result;
|
|
2071
|
+
try {
|
|
2072
|
+
result = getObject(arg0) instanceof ImageBitmap;
|
|
2073
|
+
} catch (_) {
|
|
2074
|
+
result = false;
|
|
2075
|
+
}
|
|
2076
|
+
const ret = result;
|
|
2077
|
+
return ret;
|
|
2078
|
+
},
|
|
2079
|
+
__wbg_instanceof_Response_cb984bd66d7bd408: function(arg0) {
|
|
2080
|
+
let result;
|
|
2081
|
+
try {
|
|
2082
|
+
result = getObject(arg0) instanceof Response;
|
|
2083
|
+
} catch (_) {
|
|
2084
|
+
result = false;
|
|
2085
|
+
}
|
|
2086
|
+
const ret = result;
|
|
2087
|
+
return ret;
|
|
2088
|
+
},
|
|
2089
|
+
__wbg_instanceof_Uint8Array_86f30649f63ef9c2: function(arg0) {
|
|
2090
|
+
let result;
|
|
2091
|
+
try {
|
|
2092
|
+
result = getObject(arg0) instanceof Uint8Array;
|
|
2093
|
+
} catch (_) {
|
|
2094
|
+
result = false;
|
|
2095
|
+
}
|
|
2096
|
+
const ret = result;
|
|
2097
|
+
return ret;
|
|
2098
|
+
},
|
|
2099
|
+
__wbg_instanceof_WebGl2RenderingContext_39d13e3f953130c7: function(arg0) {
|
|
2100
|
+
let result;
|
|
2101
|
+
try {
|
|
2102
|
+
result = getObject(arg0) instanceof WebGL2RenderingContext;
|
|
2103
|
+
} catch (_) {
|
|
2104
|
+
result = false;
|
|
2105
|
+
}
|
|
2106
|
+
const ret = result;
|
|
2107
|
+
return ret;
|
|
2108
|
+
},
|
|
2109
|
+
__wbg_instanceof_Window_e093be59ee9a8e14: function(arg0) {
|
|
2110
|
+
let result;
|
|
2111
|
+
try {
|
|
2112
|
+
result = getObject(arg0) instanceof Window;
|
|
2113
|
+
} catch (_) {
|
|
2114
|
+
result = false;
|
|
2115
|
+
}
|
|
2116
|
+
const ret = result;
|
|
2117
|
+
return ret;
|
|
2118
|
+
},
|
|
2119
|
+
__wbg_invalidateFramebuffer_6b8dae55a3debb1d: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2120
|
+
getObject(arg0).invalidateFramebuffer(arg1 >>> 0, getObject(arg2));
|
|
2121
|
+
}, arguments); },
|
|
2122
|
+
__wbg_isArray_67c2c9c4313f4448: function(arg0) {
|
|
2123
|
+
const ret = Array.isArray(getObject(arg0));
|
|
2124
|
+
return ret;
|
|
2125
|
+
},
|
|
2126
|
+
__wbg_isFallbackAdapter_8ccb967428491dcb: function(arg0) {
|
|
2127
|
+
const ret = getObject(arg0).isFallbackAdapter;
|
|
2128
|
+
return ret;
|
|
2129
|
+
},
|
|
2130
|
+
__wbg_isSafeInteger_66acec27e09e99a7: function(arg0) {
|
|
2131
|
+
const ret = Number.isSafeInteger(getObject(arg0));
|
|
2132
|
+
return ret;
|
|
2133
|
+
},
|
|
2134
|
+
__wbg_iterator_8732428d309e270e: function() {
|
|
2135
|
+
const ret = Symbol.iterator;
|
|
2136
|
+
return addHeapObject(ret);
|
|
2137
|
+
},
|
|
2138
|
+
__wbg_label_7ed42f25f841996b: function(arg0, arg1) {
|
|
2139
|
+
const ret = getObject(arg1).label;
|
|
2140
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2141
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2142
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2143
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2144
|
+
},
|
|
2145
|
+
__wbg_length_280688879ee7deb5: function(arg0) {
|
|
2146
|
+
const ret = getObject(arg0).length;
|
|
2147
|
+
return ret;
|
|
2148
|
+
},
|
|
2149
|
+
__wbg_length_4a591ecaa01354d9: function(arg0) {
|
|
2150
|
+
const ret = getObject(arg0).length;
|
|
2151
|
+
return ret;
|
|
2152
|
+
},
|
|
2153
|
+
__wbg_length_66f1a4b2e9026940: function(arg0) {
|
|
2154
|
+
const ret = getObject(arg0).length;
|
|
2155
|
+
return ret;
|
|
2156
|
+
},
|
|
2157
|
+
__wbg_limits_20c6f56636df7d38: function(arg0) {
|
|
2158
|
+
const ret = getObject(arg0).limits;
|
|
2159
|
+
return addHeapObject(ret);
|
|
2160
|
+
},
|
|
2161
|
+
__wbg_limits_328c61cd41512420: function(arg0) {
|
|
2162
|
+
const ret = getObject(arg0).limits;
|
|
2163
|
+
return addHeapObject(ret);
|
|
2164
|
+
},
|
|
2165
|
+
__wbg_linkProgram_3ccc9beaa6dace28: function(arg0, arg1) {
|
|
2166
|
+
getObject(arg0).linkProgram(getObject(arg1));
|
|
2167
|
+
},
|
|
2168
|
+
__wbg_linkProgram_fe2b1bf26336c4a5: function(arg0, arg1) {
|
|
2169
|
+
getObject(arg0).linkProgram(getObject(arg1));
|
|
2170
|
+
},
|
|
2171
|
+
__wbg_loadImageFromBytes_3d42766b73aca4ca: function(arg0) {
|
|
2172
|
+
const ret = loadImageFromBytes(takeObject(arg0));
|
|
2173
|
+
return addHeapObject(ret);
|
|
2174
|
+
},
|
|
2175
|
+
__wbg_loadImageFromUrl_50be99dbf040255b: function(arg0, arg1) {
|
|
2176
|
+
let deferred0_0;
|
|
2177
|
+
let deferred0_1;
|
|
2178
|
+
try {
|
|
2179
|
+
deferred0_0 = arg0;
|
|
2180
|
+
deferred0_1 = arg1;
|
|
2181
|
+
const ret = loadImageFromUrl(getStringFromWasm0(arg0, arg1));
|
|
2182
|
+
return addHeapObject(ret);
|
|
2183
|
+
} finally {
|
|
2184
|
+
wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
|
|
2185
|
+
}
|
|
2186
|
+
},
|
|
2187
|
+
__wbg_loadVideoFromBytes_3d884aadcf4d2139: function(arg0) {
|
|
2188
|
+
const ret = loadVideoFromBytes(takeObject(arg0));
|
|
2189
|
+
return addHeapObject(ret);
|
|
2190
|
+
},
|
|
2191
|
+
__wbg_loadVideoFromUrl_7997ffb030d4b08b: function(arg0, arg1) {
|
|
2192
|
+
let deferred0_0;
|
|
2193
|
+
let deferred0_1;
|
|
2194
|
+
try {
|
|
2195
|
+
deferred0_0 = arg0;
|
|
2196
|
+
deferred0_1 = arg1;
|
|
2197
|
+
const ret = loadVideoFromUrl(getStringFromWasm0(arg0, arg1));
|
|
2198
|
+
return addHeapObject(ret);
|
|
2199
|
+
} finally {
|
|
2200
|
+
wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
|
|
2201
|
+
}
|
|
2202
|
+
},
|
|
2203
|
+
__wbg_location_efdf1fea18b5552a: function(arg0) {
|
|
2204
|
+
const ret = getObject(arg0).location;
|
|
2205
|
+
return addHeapObject(ret);
|
|
2206
|
+
},
|
|
2207
|
+
__wbg_log_cf2e968649f3384e: function(arg0) {
|
|
2208
|
+
console.log(getObject(arg0));
|
|
2209
|
+
},
|
|
2210
|
+
__wbg_lost_0fa164c88f543338: function(arg0) {
|
|
2211
|
+
const ret = getObject(arg0).lost;
|
|
2212
|
+
return addHeapObject(ret);
|
|
2213
|
+
},
|
|
2214
|
+
__wbg_mapAsync_52b01fa9e8f765fd: function(arg0, arg1, arg2, arg3) {
|
|
2215
|
+
const ret = getObject(arg0).mapAsync(arg1 >>> 0, arg2, arg3);
|
|
2216
|
+
return addHeapObject(ret);
|
|
2217
|
+
},
|
|
2218
|
+
__wbg_maxBindGroupsPlusVertexBuffers_33e5006b23e20478: function(arg0) {
|
|
2219
|
+
const ret = getObject(arg0).maxBindGroupsPlusVertexBuffers;
|
|
2220
|
+
return ret;
|
|
2221
|
+
},
|
|
2222
|
+
__wbg_maxBindGroups_f6d26f3a67826666: function(arg0) {
|
|
2223
|
+
const ret = getObject(arg0).maxBindGroups;
|
|
2224
|
+
return ret;
|
|
2225
|
+
},
|
|
2226
|
+
__wbg_maxBindingsPerBindGroup_edab2e8dabbf6060: function(arg0) {
|
|
2227
|
+
const ret = getObject(arg0).maxBindingsPerBindGroup;
|
|
2228
|
+
return ret;
|
|
2229
|
+
},
|
|
2230
|
+
__wbg_maxBufferSize_bbc69284c14aa7da: function(arg0) {
|
|
2231
|
+
const ret = getObject(arg0).maxBufferSize;
|
|
2232
|
+
return ret;
|
|
2233
|
+
},
|
|
2234
|
+
__wbg_maxColorAttachmentBytesPerSample_63ebe4f81de2f34c: function(arg0) {
|
|
2235
|
+
const ret = getObject(arg0).maxColorAttachmentBytesPerSample;
|
|
2236
|
+
return ret;
|
|
2237
|
+
},
|
|
2238
|
+
__wbg_maxColorAttachments_aed8c38beabf3a5c: function(arg0) {
|
|
2239
|
+
const ret = getObject(arg0).maxColorAttachments;
|
|
2240
|
+
return ret;
|
|
2241
|
+
},
|
|
2242
|
+
__wbg_maxComputeInvocationsPerWorkgroup_2d964564c37f1c65: function(arg0) {
|
|
2243
|
+
const ret = getObject(arg0).maxComputeInvocationsPerWorkgroup;
|
|
2244
|
+
return ret;
|
|
2245
|
+
},
|
|
2246
|
+
__wbg_maxComputeWorkgroupSizeX_a3e3206570da184f: function(arg0) {
|
|
2247
|
+
const ret = getObject(arg0).maxComputeWorkgroupSizeX;
|
|
2248
|
+
return ret;
|
|
2249
|
+
},
|
|
2250
|
+
__wbg_maxComputeWorkgroupSizeY_dffa4a62244b7563: function(arg0) {
|
|
2251
|
+
const ret = getObject(arg0).maxComputeWorkgroupSizeY;
|
|
2252
|
+
return ret;
|
|
2253
|
+
},
|
|
2254
|
+
__wbg_maxComputeWorkgroupSizeZ_976ebcb760f6d07d: function(arg0) {
|
|
2255
|
+
const ret = getObject(arg0).maxComputeWorkgroupSizeZ;
|
|
2256
|
+
return ret;
|
|
2257
|
+
},
|
|
2258
|
+
__wbg_maxComputeWorkgroupStorageSize_2e8dbece6e532e2a: function(arg0) {
|
|
2259
|
+
const ret = getObject(arg0).maxComputeWorkgroupStorageSize;
|
|
2260
|
+
return ret;
|
|
2261
|
+
},
|
|
2262
|
+
__wbg_maxComputeWorkgroupsPerDimension_bb7d36b4d20c80f4: function(arg0) {
|
|
2263
|
+
const ret = getObject(arg0).maxComputeWorkgroupsPerDimension;
|
|
2264
|
+
return ret;
|
|
2265
|
+
},
|
|
2266
|
+
__wbg_maxDynamicStorageBuffersPerPipelineLayout_1ca859cb96a414e0: function(arg0) {
|
|
2267
|
+
const ret = getObject(arg0).maxDynamicStorageBuffersPerPipelineLayout;
|
|
2268
|
+
return ret;
|
|
2269
|
+
},
|
|
2270
|
+
__wbg_maxDynamicUniformBuffersPerPipelineLayout_e968f2c8cd8f4d46: function(arg0) {
|
|
2271
|
+
const ret = getObject(arg0).maxDynamicUniformBuffersPerPipelineLayout;
|
|
2272
|
+
return ret;
|
|
2273
|
+
},
|
|
2274
|
+
__wbg_maxInterStageShaderVariables_138ac882c4d6a3d3: function(arg0) {
|
|
2275
|
+
const ret = getObject(arg0).maxInterStageShaderVariables;
|
|
2276
|
+
return ret;
|
|
2277
|
+
},
|
|
2278
|
+
__wbg_maxSampledTexturesPerShaderStage_bb3e6b2698321fa6: function(arg0) {
|
|
2279
|
+
const ret = getObject(arg0).maxSampledTexturesPerShaderStage;
|
|
2280
|
+
return ret;
|
|
2281
|
+
},
|
|
2282
|
+
__wbg_maxSamplersPerShaderStage_98c00a1829fa414b: function(arg0) {
|
|
2283
|
+
const ret = getObject(arg0).maxSamplersPerShaderStage;
|
|
2284
|
+
return ret;
|
|
2285
|
+
},
|
|
2286
|
+
__wbg_maxStorageBufferBindingSize_e500e31f479e669e: function(arg0) {
|
|
2287
|
+
const ret = getObject(arg0).maxStorageBufferBindingSize;
|
|
2288
|
+
return ret;
|
|
2289
|
+
},
|
|
2290
|
+
__wbg_maxStorageBuffersPerShaderStage_eb663f6d7521b6a7: function(arg0) {
|
|
2291
|
+
const ret = getObject(arg0).maxStorageBuffersPerShaderStage;
|
|
2292
|
+
return ret;
|
|
2293
|
+
},
|
|
2294
|
+
__wbg_maxStorageTexturesPerShaderStage_bb3ad93b53e618c0: function(arg0) {
|
|
2295
|
+
const ret = getObject(arg0).maxStorageTexturesPerShaderStage;
|
|
2296
|
+
return ret;
|
|
2297
|
+
},
|
|
2298
|
+
__wbg_maxTextureArrayLayers_2a56d05fb261c99a: function(arg0) {
|
|
2299
|
+
const ret = getObject(arg0).maxTextureArrayLayers;
|
|
2300
|
+
return ret;
|
|
2301
|
+
},
|
|
2302
|
+
__wbg_maxTextureDimension1D_84590c1d4770d319: function(arg0) {
|
|
2303
|
+
const ret = getObject(arg0).maxTextureDimension1D;
|
|
2304
|
+
return ret;
|
|
2305
|
+
},
|
|
2306
|
+
__wbg_maxTextureDimension2D_7f2b5c8b2727e3fc: function(arg0) {
|
|
2307
|
+
const ret = getObject(arg0).maxTextureDimension2D;
|
|
2308
|
+
return ret;
|
|
2309
|
+
},
|
|
2310
|
+
__wbg_maxTextureDimension3D_7f3babddf55c32a6: function(arg0) {
|
|
2311
|
+
const ret = getObject(arg0).maxTextureDimension3D;
|
|
2312
|
+
return ret;
|
|
2313
|
+
},
|
|
2314
|
+
__wbg_maxUniformBufferBindingSize_d80a09e23c0b284c: function(arg0) {
|
|
2315
|
+
const ret = getObject(arg0).maxUniformBufferBindingSize;
|
|
2316
|
+
return ret;
|
|
2317
|
+
},
|
|
2318
|
+
__wbg_maxUniformBuffersPerShaderStage_0b8b2de676fa740e: function(arg0) {
|
|
2319
|
+
const ret = getObject(arg0).maxUniformBuffersPerShaderStage;
|
|
2320
|
+
return ret;
|
|
2321
|
+
},
|
|
2322
|
+
__wbg_maxVertexAttributes_a693dd921316649b: function(arg0) {
|
|
2323
|
+
const ret = getObject(arg0).maxVertexAttributes;
|
|
2324
|
+
return ret;
|
|
2325
|
+
},
|
|
2326
|
+
__wbg_maxVertexBufferArrayStride_f256d91f281076cb: function(arg0) {
|
|
2327
|
+
const ret = getObject(arg0).maxVertexBufferArrayStride;
|
|
2328
|
+
return ret;
|
|
2329
|
+
},
|
|
2330
|
+
__wbg_maxVertexBuffers_70ab564b25d5ac20: function(arg0) {
|
|
2331
|
+
const ret = getObject(arg0).maxVertexBuffers;
|
|
2332
|
+
return ret;
|
|
2333
|
+
},
|
|
2334
|
+
__wbg_message_28959d6ca4d7dda0: function(arg0, arg1) {
|
|
2335
|
+
const ret = getObject(arg1).message;
|
|
2336
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2337
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2338
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2339
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2340
|
+
},
|
|
2341
|
+
__wbg_message_4ada57a3710f1502: function(arg0, arg1) {
|
|
2342
|
+
const ret = getObject(arg1).message;
|
|
2343
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2344
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2345
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2346
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2347
|
+
},
|
|
2348
|
+
__wbg_minStorageBufferOffsetAlignment_3248ed00dcdbf79f: function(arg0) {
|
|
2349
|
+
const ret = getObject(arg0).minStorageBufferOffsetAlignment;
|
|
2350
|
+
return ret;
|
|
2351
|
+
},
|
|
2352
|
+
__wbg_minUniformBufferOffsetAlignment_3b9fa4caae03e903: function(arg0) {
|
|
2353
|
+
const ret = getObject(arg0).minUniformBufferOffsetAlignment;
|
|
2354
|
+
return ret;
|
|
2355
|
+
},
|
|
2356
|
+
__wbg_name_b7fa2500fc153b89: function(arg0, arg1) {
|
|
2357
|
+
const ret = getObject(arg1).name;
|
|
2358
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2359
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2360
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2361
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2362
|
+
},
|
|
2363
|
+
__wbg_navigator_3833ecdbc19d2757: function(arg0) {
|
|
2364
|
+
const ret = getObject(arg0).navigator;
|
|
2365
|
+
return addHeapObject(ret);
|
|
2366
|
+
},
|
|
2367
|
+
__wbg_navigator_391291470f58c650: function(arg0) {
|
|
2368
|
+
const ret = getObject(arg0).navigator;
|
|
2369
|
+
return addHeapObject(ret);
|
|
2370
|
+
},
|
|
2371
|
+
__wbg_new_227d7c05414eb861: function() {
|
|
2372
|
+
const ret = new Error();
|
|
2373
|
+
return addHeapObject(ret);
|
|
2374
|
+
},
|
|
2375
|
+
__wbg_new_3b242422c588a8f3: function() { return handleError(function (arg0, arg1) {
|
|
2376
|
+
const ret = new OffscreenCanvas(arg0 >>> 0, arg1 >>> 0);
|
|
2377
|
+
return addHeapObject(ret);
|
|
2378
|
+
}, arguments); },
|
|
2379
|
+
__wbg_new_578aeef4b6b94378: function(arg0) {
|
|
2380
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
2381
|
+
return addHeapObject(ret);
|
|
2382
|
+
},
|
|
2383
|
+
__wbg_new_b682b81e8eaaf027: function(arg0, arg1) {
|
|
2384
|
+
try {
|
|
2385
|
+
var state0 = {a: arg0, b: arg1};
|
|
2386
|
+
var cb0 = (arg0, arg1) => {
|
|
2387
|
+
const a = state0.a;
|
|
2388
|
+
state0.a = 0;
|
|
2389
|
+
try {
|
|
2390
|
+
return __wasm_bindgen_func_elem_12869(a, state0.b, arg0, arg1);
|
|
2391
|
+
} finally {
|
|
2392
|
+
state0.a = a;
|
|
2393
|
+
}
|
|
2394
|
+
};
|
|
2395
|
+
const ret = new Promise(cb0);
|
|
2396
|
+
return addHeapObject(ret);
|
|
2397
|
+
} finally {
|
|
2398
|
+
state0.a = 0;
|
|
2399
|
+
}
|
|
2400
|
+
},
|
|
2401
|
+
__wbg_new_ce1ab61c1c2b300d: function() {
|
|
2402
|
+
const ret = new Object();
|
|
2403
|
+
return addHeapObject(ret);
|
|
2404
|
+
},
|
|
2405
|
+
__wbg_new_d90091b82fdf5b91: function() {
|
|
2406
|
+
const ret = new Array();
|
|
2407
|
+
return addHeapObject(ret);
|
|
2408
|
+
},
|
|
2409
|
+
__wbg_new_from_slice_18fa1f71286d66b8: function(arg0, arg1) {
|
|
2410
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
2411
|
+
return addHeapObject(ret);
|
|
2412
|
+
},
|
|
2413
|
+
__wbg_new_from_slice_3c93d0bc613de8f0: function(arg0, arg1) {
|
|
2414
|
+
const ret = new Float64Array(getArrayF64FromWasm0(arg0, arg1));
|
|
2415
|
+
return addHeapObject(ret);
|
|
2416
|
+
},
|
|
2417
|
+
__wbg_new_from_slice_47be4219028de35d: function(arg0, arg1) {
|
|
2418
|
+
const ret = new Uint32Array(getArrayU32FromWasm0(arg0, arg1));
|
|
2419
|
+
return addHeapObject(ret);
|
|
2420
|
+
},
|
|
2421
|
+
__wbg_new_from_slice_956df4f769fb782c: function(arg0, arg1) {
|
|
2422
|
+
const ret = new Float32Array(getArrayF32FromWasm0(arg0, arg1));
|
|
2423
|
+
return addHeapObject(ret);
|
|
2424
|
+
},
|
|
2425
|
+
__wbg_new_typed_41c97238ee4583e3: function() {
|
|
2426
|
+
const ret = new Object();
|
|
2427
|
+
return addHeapObject(ret);
|
|
2428
|
+
},
|
|
2429
|
+
__wbg_new_typed_bf31d18f92484486: function(arg0, arg1) {
|
|
2430
|
+
try {
|
|
2431
|
+
var state0 = {a: arg0, b: arg1};
|
|
2432
|
+
var cb0 = (arg0, arg1) => {
|
|
2433
|
+
const a = state0.a;
|
|
2434
|
+
state0.a = 0;
|
|
2435
|
+
try {
|
|
2436
|
+
return __wasm_bindgen_func_elem_12869(a, state0.b, arg0, arg1);
|
|
2437
|
+
} finally {
|
|
2438
|
+
state0.a = a;
|
|
2439
|
+
}
|
|
2440
|
+
};
|
|
2441
|
+
const ret = new Promise(cb0);
|
|
2442
|
+
return addHeapObject(ret);
|
|
2443
|
+
} finally {
|
|
2444
|
+
state0.a = 0;
|
|
2445
|
+
}
|
|
2446
|
+
},
|
|
2447
|
+
__wbg_new_with_byte_offset_and_length_d836f26d916dd9ad: function(arg0, arg1, arg2) {
|
|
2448
|
+
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
2449
|
+
return addHeapObject(ret);
|
|
2450
|
+
},
|
|
2451
|
+
__wbg_new_with_length_36a4998e27b014c5: function(arg0) {
|
|
2452
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
2453
|
+
return addHeapObject(ret);
|
|
2454
|
+
},
|
|
2455
|
+
__wbg_new_with_length_b4a87ccced374381: function(arg0) {
|
|
2456
|
+
const ret = new Float64Array(arg0 >>> 0);
|
|
2457
|
+
return addHeapObject(ret);
|
|
2458
|
+
},
|
|
2459
|
+
__wbg_new_with_str_and_init_bcd02b79a793d27f: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2460
|
+
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
2461
|
+
return addHeapObject(ret);
|
|
2462
|
+
}, arguments); },
|
|
2463
|
+
__wbg_next_9e03acdf51c4960d: function(arg0) {
|
|
2464
|
+
const ret = getObject(arg0).next;
|
|
2465
|
+
return addHeapObject(ret);
|
|
2466
|
+
},
|
|
2467
|
+
__wbg_next_eb8ca7351fa27906: function() { return handleError(function (arg0) {
|
|
2468
|
+
const ret = getObject(arg0).next();
|
|
2469
|
+
return addHeapObject(ret);
|
|
2470
|
+
}, arguments); },
|
|
2471
|
+
__wbg_now_f565250295e2d180: function(arg0) {
|
|
2472
|
+
const ret = getObject(arg0).now();
|
|
2473
|
+
return ret;
|
|
2474
|
+
},
|
|
2475
|
+
__wbg_of_57145fdec12d159f: function(arg0) {
|
|
2476
|
+
const ret = Array.of(getObject(arg0));
|
|
2477
|
+
return addHeapObject(ret);
|
|
2478
|
+
},
|
|
2479
|
+
__wbg_ok_fb13c30bc1893039: function(arg0) {
|
|
2480
|
+
const ret = getObject(arg0).ok;
|
|
2481
|
+
return ret;
|
|
2482
|
+
},
|
|
2483
|
+
__wbg_onSubmittedWorkDone_270d6b5a45520e79: function(arg0) {
|
|
2484
|
+
const ret = getObject(arg0).onSubmittedWorkDone();
|
|
2485
|
+
return addHeapObject(ret);
|
|
2486
|
+
},
|
|
2487
|
+
__wbg_open_177ad1dcc06b9106: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2488
|
+
const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));
|
|
2489
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2490
|
+
}, arguments); },
|
|
2491
|
+
__wbg_open_feb75fe4d9971c50: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2492
|
+
const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
2493
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2494
|
+
}, arguments); },
|
|
2495
|
+
__wbg_ownKeys_0587b8fe286a40e6: function() { return handleError(function (arg0) {
|
|
2496
|
+
const ret = Reflect.ownKeys(getObject(arg0));
|
|
2497
|
+
return addHeapObject(ret);
|
|
2498
|
+
}, arguments); },
|
|
2499
|
+
__wbg_pause_adce2b37e004ae49: function() { return handleError(function (arg0) {
|
|
2500
|
+
getObject(arg0).pause();
|
|
2501
|
+
}, arguments); },
|
|
2502
|
+
__wbg_performance_68499ca0718837f5: function(arg0) {
|
|
2503
|
+
const ret = getObject(arg0).performance;
|
|
2504
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2505
|
+
},
|
|
2506
|
+
__wbg_pixelStorei_6e42d231aa75bd00: function(arg0, arg1, arg2) {
|
|
2507
|
+
getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
|
|
2508
|
+
},
|
|
2509
|
+
__wbg_pixelStorei_84dc1952dc699c94: function(arg0, arg1, arg2) {
|
|
2510
|
+
getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
|
|
2511
|
+
},
|
|
2512
|
+
__wbg_play_4ed9ece3cae2c100: function() { return handleError(function (arg0) {
|
|
2513
|
+
const ret = getObject(arg0).play();
|
|
2514
|
+
return addHeapObject(ret);
|
|
2515
|
+
}, arguments); },
|
|
2516
|
+
__wbg_popErrorScope_8e7f4cbff8b758dd: function(arg0) {
|
|
2517
|
+
const ret = getObject(arg0).popErrorScope();
|
|
2518
|
+
return addHeapObject(ret);
|
|
2519
|
+
},
|
|
2520
|
+
__wbg_prototypesetcall_3249fc62a0fafa30: function(arg0, arg1, arg2) {
|
|
2521
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
2522
|
+
},
|
|
2523
|
+
__wbg_prototypesetcall_59640349d2c6d881: function(arg0, arg1, arg2) {
|
|
2524
|
+
Uint32Array.prototype.set.call(getArrayU32FromWasm0(arg0, arg1), getObject(arg2));
|
|
2525
|
+
},
|
|
2526
|
+
__wbg_provokingVertexWEBGL_0354dc7ad44d69bf: function(arg0, arg1) {
|
|
2527
|
+
getObject(arg0).provokingVertexWEBGL(arg1 >>> 0);
|
|
2528
|
+
},
|
|
2529
|
+
__wbg_pushErrorScope_fa23d1206bc26dce: function(arg0, arg1) {
|
|
2530
|
+
getObject(arg0).pushErrorScope(__wbindgen_enum_GpuErrorFilter[arg1]);
|
|
2531
|
+
},
|
|
2532
|
+
__wbg_push_a6822215aa43e71c: function(arg0, arg1) {
|
|
2533
|
+
const ret = getObject(arg0).push(getObject(arg1));
|
|
2534
|
+
return ret;
|
|
2535
|
+
},
|
|
2536
|
+
__wbg_querySelectorAll_4dcc230a2f8a2498: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2537
|
+
const ret = getObject(arg0).querySelectorAll(getStringFromWasm0(arg1, arg2));
|
|
2538
|
+
return addHeapObject(ret);
|
|
2539
|
+
}, arguments); },
|
|
2540
|
+
__wbg_queueMicrotask_35c611f4a14830b2: function(arg0) {
|
|
2541
|
+
queueMicrotask(getObject(arg0));
|
|
2542
|
+
},
|
|
2543
|
+
__wbg_queueMicrotask_404ed0a58e0b63cc: function(arg0) {
|
|
2544
|
+
const ret = getObject(arg0).queueMicrotask;
|
|
2545
|
+
return addHeapObject(ret);
|
|
2546
|
+
},
|
|
2547
|
+
__wbg_queue_adce34608fd0c893: function(arg0) {
|
|
2548
|
+
const ret = getObject(arg0).queue;
|
|
2549
|
+
return addHeapObject(ret);
|
|
2550
|
+
},
|
|
2551
|
+
__wbg_readBuffer_2027f7cdd7533f2d: function(arg0, arg1) {
|
|
2552
|
+
getObject(arg0).readBuffer(arg1 >>> 0);
|
|
2553
|
+
},
|
|
2554
|
+
__wbg_readPixels_a04f5cf5019be695: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2555
|
+
getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7));
|
|
2556
|
+
}, arguments); },
|
|
2557
|
+
__wbg_readPixels_bf9ee726d9179d3c: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2558
|
+
getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7));
|
|
2559
|
+
}, arguments); },
|
|
2560
|
+
__wbg_readPixels_d00c1cae608273d8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2561
|
+
getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
|
|
2562
|
+
}, arguments); },
|
|
2563
|
+
__wbg_reason_b02cd587d1a09948: function(arg0) {
|
|
2564
|
+
const ret = getObject(arg0).reason;
|
|
2565
|
+
return (__wbindgen_enum_GpuDeviceLostReason.indexOf(ret) + 1 || 3) - 1;
|
|
2566
|
+
},
|
|
2567
|
+
__wbg_renderbufferStorageMultisample_75bba97a8e59bc6e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2568
|
+
getObject(arg0).renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
2569
|
+
},
|
|
2570
|
+
__wbg_renderbufferStorage_3f5b0ec8fca2f9f8: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2571
|
+
getObject(arg0).renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
2572
|
+
},
|
|
2573
|
+
__wbg_renderbufferStorage_c34a47cacbbc5fff: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2574
|
+
getObject(arg0).renderbufferStorage(arg1 >>> 0, arg2 >>> 0, arg3, arg4);
|
|
2575
|
+
},
|
|
2576
|
+
__wbg_requestAdapter_2e6718811c735a57: function(arg0, arg1) {
|
|
2577
|
+
const ret = getObject(arg0).requestAdapter(getObject(arg1));
|
|
2578
|
+
return addHeapObject(ret);
|
|
2579
|
+
},
|
|
2580
|
+
__wbg_requestDevice_ab46d0519ea1cc34: function(arg0, arg1) {
|
|
2581
|
+
const ret = getObject(arg0).requestDevice(getObject(arg1));
|
|
2582
|
+
return addHeapObject(ret);
|
|
2583
|
+
},
|
|
2584
|
+
__wbg_resolveQuerySet_0f32dc3de3f09701: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2585
|
+
getObject(arg0).resolveQuerySet(getObject(arg1), arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5 >>> 0);
|
|
2586
|
+
},
|
|
2587
|
+
__wbg_resolve_25a7e548d5881dca: function(arg0) {
|
|
2588
|
+
const ret = Promise.resolve(getObject(arg0));
|
|
2589
|
+
return addHeapObject(ret);
|
|
2590
|
+
},
|
|
2591
|
+
__wbg_scissor_079b7c4a5c9fcb63: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2592
|
+
getObject(arg0).scissor(arg1, arg2, arg3, arg4);
|
|
2593
|
+
},
|
|
2594
|
+
__wbg_scissor_e69faa631ab6fdc0: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2595
|
+
getObject(arg0).scissor(arg1, arg2, arg3, arg4);
|
|
2596
|
+
},
|
|
2597
|
+
__wbg_setBindGroup_268fd1714fff0ef5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2598
|
+
getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2), getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
2599
|
+
}, arguments); },
|
|
2600
|
+
__wbg_setBindGroup_3e4ce136bc833ea1: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2601
|
+
getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2), getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
2602
|
+
}, arguments); },
|
|
2603
|
+
__wbg_setBindGroup_c22a1b95c0b17f37: function(arg0, arg1, arg2) {
|
|
2604
|
+
getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2));
|
|
2605
|
+
},
|
|
2606
|
+
__wbg_setBindGroup_f0de6cb2c7dbfc2c: function(arg0, arg1, arg2) {
|
|
2607
|
+
getObject(arg0).setBindGroup(arg1 >>> 0, getObject(arg2));
|
|
2608
|
+
},
|
|
2609
|
+
__wbg_setIndexBuffer_2531a9103450445e: function(arg0, arg1, arg2, arg3) {
|
|
2610
|
+
getObject(arg0).setIndexBuffer(getObject(arg1), __wbindgen_enum_GpuIndexFormat[arg2], arg3);
|
|
2611
|
+
},
|
|
2612
|
+
__wbg_setIndexBuffer_7f3cf667b4d71566: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2613
|
+
getObject(arg0).setIndexBuffer(getObject(arg1), __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
2614
|
+
},
|
|
2615
|
+
__wbg_setPipeline_c41bf46790f27f9e: function(arg0, arg1) {
|
|
2616
|
+
getObject(arg0).setPipeline(getObject(arg1));
|
|
2617
|
+
},
|
|
2618
|
+
__wbg_setPipeline_d73f019e98c76d2d: function(arg0, arg1) {
|
|
2619
|
+
getObject(arg0).setPipeline(getObject(arg1));
|
|
2620
|
+
},
|
|
2621
|
+
__wbg_setStencilReference_66c74be6232bb9da: function(arg0, arg1) {
|
|
2622
|
+
getObject(arg0).setStencilReference(arg1 >>> 0);
|
|
2623
|
+
},
|
|
2624
|
+
__wbg_setVertexBuffer_1e448859663dd400: function(arg0, arg1, arg2, arg3) {
|
|
2625
|
+
getObject(arg0).setVertexBuffer(arg1 >>> 0, getObject(arg2), arg3);
|
|
2626
|
+
},
|
|
2627
|
+
__wbg_setVertexBuffer_7cf533d694e747f3: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2628
|
+
getObject(arg0).setVertexBuffer(arg1 >>> 0, getObject(arg2), arg3, arg4);
|
|
2629
|
+
},
|
|
2630
|
+
__wbg_setViewport_d9fc3eac343de7d0: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2631
|
+
getObject(arg0).setViewport(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
2632
|
+
},
|
|
2633
|
+
__wbg_set_29c99a8aac1c01e5: function(arg0, arg1, arg2) {
|
|
2634
|
+
getObject(arg0).set(getArrayU8FromWasm0(arg1, arg2));
|
|
2635
|
+
},
|
|
2636
|
+
__wbg_set_6e30c9374c26414c: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2637
|
+
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
2638
|
+
return ret;
|
|
2639
|
+
}, arguments); },
|
|
2640
|
+
__wbg_set_6f7e2d6e41d9a122: function(arg0, arg1, arg2) {
|
|
2641
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
2642
|
+
},
|
|
2643
|
+
__wbg_set_a_88262a42340d0b1c: function(arg0, arg1) {
|
|
2644
|
+
getObject(arg0).a = arg1;
|
|
2645
|
+
},
|
|
2646
|
+
__wbg_set_access_9a5092f05dc45fad: function(arg0, arg1) {
|
|
2647
|
+
getObject(arg0).access = __wbindgen_enum_GpuStorageTextureAccess[arg1];
|
|
2648
|
+
},
|
|
2649
|
+
__wbg_set_address_mode_u_9e2695575a219e33: function(arg0, arg1) {
|
|
2650
|
+
getObject(arg0).addressModeU = __wbindgen_enum_GpuAddressMode[arg1];
|
|
2651
|
+
},
|
|
2652
|
+
__wbg_set_address_mode_v_f479b2e6cccbcac4: function(arg0, arg1) {
|
|
2653
|
+
getObject(arg0).addressModeV = __wbindgen_enum_GpuAddressMode[arg1];
|
|
2654
|
+
},
|
|
2655
|
+
__wbg_set_address_mode_w_46273e153230180d: function(arg0, arg1) {
|
|
2656
|
+
getObject(arg0).addressModeW = __wbindgen_enum_GpuAddressMode[arg1];
|
|
2657
|
+
},
|
|
2658
|
+
__wbg_set_alpha_bfd2df62e7bc581b: function(arg0, arg1) {
|
|
2659
|
+
getObject(arg0).alpha = getObject(arg1);
|
|
2660
|
+
},
|
|
2661
|
+
__wbg_set_alpha_mode_df805952892caa9c: function(arg0, arg1) {
|
|
2662
|
+
getObject(arg0).alphaMode = __wbindgen_enum_GpuCanvasAlphaMode[arg1];
|
|
2663
|
+
},
|
|
2664
|
+
__wbg_set_alpha_to_coverage_enabled_8b5dc2b0a225b3b2: function(arg0, arg1) {
|
|
2665
|
+
getObject(arg0).alphaToCoverageEnabled = arg1 !== 0;
|
|
2666
|
+
},
|
|
2667
|
+
__wbg_set_array_layer_count_7312f0f31af94e7c: function(arg0, arg1) {
|
|
2668
|
+
getObject(arg0).arrayLayerCount = arg1 >>> 0;
|
|
2669
|
+
},
|
|
2670
|
+
__wbg_set_array_stride_f64_27ffaf4fffd74e61: function(arg0, arg1) {
|
|
2671
|
+
getObject(arg0).arrayStride = arg1;
|
|
2672
|
+
},
|
|
2673
|
+
__wbg_set_aspect_0d453bca3d012f02: function(arg0, arg1) {
|
|
2674
|
+
getObject(arg0).aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
2675
|
+
},
|
|
2676
|
+
__wbg_set_aspect_210da747c9d77aba: function(arg0, arg1) {
|
|
2677
|
+
getObject(arg0).aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
2678
|
+
},
|
|
2679
|
+
__wbg_set_aspect_4962514fe99e68e6: function(arg0, arg1) {
|
|
2680
|
+
getObject(arg0).aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
2681
|
+
},
|
|
2682
|
+
__wbg_set_attributes_7537844a7e6dafdc: function(arg0, arg1, arg2) {
|
|
2683
|
+
getObject(arg0).attributes = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
2684
|
+
},
|
|
2685
|
+
__wbg_set_b_c47befe0af3261eb: function(arg0, arg1) {
|
|
2686
|
+
getObject(arg0).b = arg1;
|
|
2687
|
+
},
|
|
2688
|
+
__wbg_set_base_array_layer_f176bb9f1b37b342: function(arg0, arg1) {
|
|
2689
|
+
getObject(arg0).baseArrayLayer = arg1 >>> 0;
|
|
2690
|
+
},
|
|
2691
|
+
__wbg_set_base_mip_level_1df145d9f8db32a9: function(arg0, arg1) {
|
|
2692
|
+
getObject(arg0).baseMipLevel = arg1 >>> 0;
|
|
2693
|
+
},
|
|
2694
|
+
__wbg_set_beginning_of_pass_write_index_0d4fa06109208ad7: function(arg0, arg1) {
|
|
2695
|
+
getObject(arg0).beginningOfPassWriteIndex = arg1 >>> 0;
|
|
2696
|
+
},
|
|
2697
|
+
__wbg_set_beginning_of_pass_write_index_e9f5d016947893bd: function(arg0, arg1) {
|
|
2698
|
+
getObject(arg0).beginningOfPassWriteIndex = arg1 >>> 0;
|
|
2699
|
+
},
|
|
2700
|
+
__wbg_set_bind_group_layouts_5a9cfea401c020ab: function(arg0, arg1, arg2) {
|
|
2701
|
+
getObject(arg0).bindGroupLayouts = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
2702
|
+
},
|
|
2703
|
+
__wbg_set_binding_155b0440b4307793: function(arg0, arg1) {
|
|
2704
|
+
getObject(arg0).binding = arg1 >>> 0;
|
|
2705
|
+
},
|
|
2706
|
+
__wbg_set_binding_f74df3510792aba1: function(arg0, arg1) {
|
|
2707
|
+
getObject(arg0).binding = arg1 >>> 0;
|
|
2708
|
+
},
|
|
2709
|
+
__wbg_set_blend_7493c2066c3e9970: function(arg0, arg1) {
|
|
2710
|
+
getObject(arg0).blend = getObject(arg1);
|
|
2711
|
+
},
|
|
2712
|
+
__wbg_set_buffer_9c01e3b6d6765ea2: function(arg0, arg1) {
|
|
2713
|
+
getObject(arg0).buffer = getObject(arg1);
|
|
2714
|
+
},
|
|
2715
|
+
__wbg_set_buffer_c3410572051920ba: function(arg0, arg1) {
|
|
2716
|
+
getObject(arg0).buffer = getObject(arg1);
|
|
2717
|
+
},
|
|
2718
|
+
__wbg_set_buffer_ef7f75306cf663ed: function(arg0, arg1) {
|
|
2719
|
+
getObject(arg0).buffer = getObject(arg1);
|
|
2720
|
+
},
|
|
2721
|
+
__wbg_set_buffers_7d0d8f507699e956: function(arg0, arg1, arg2) {
|
|
2722
|
+
getObject(arg0).buffers = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
2723
|
+
},
|
|
2724
|
+
__wbg_set_bytes_per_row_c54ca96953f35774: function(arg0, arg1) {
|
|
2725
|
+
getObject(arg0).bytesPerRow = arg1 >>> 0;
|
|
2726
|
+
},
|
|
2727
|
+
__wbg_set_bytes_per_row_d69b88eee3929c07: function(arg0, arg1) {
|
|
2728
|
+
getObject(arg0).bytesPerRow = arg1 >>> 0;
|
|
2729
|
+
},
|
|
2730
|
+
__wbg_set_c775d84916be79ea: function(arg0, arg1, arg2) {
|
|
2731
|
+
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
2732
|
+
},
|
|
2733
|
+
__wbg_set_clear_value_gpu_color_dict_6211425789c76e59: function(arg0, arg1) {
|
|
2734
|
+
getObject(arg0).clearValue = getObject(arg1);
|
|
2735
|
+
},
|
|
2736
|
+
__wbg_set_code_b4f37f81f45b5b25: function(arg0, arg1, arg2) {
|
|
2737
|
+
getObject(arg0).code = getStringFromWasm0(arg1, arg2);
|
|
2738
|
+
},
|
|
2739
|
+
__wbg_set_color_83aa977526e88cbb: function(arg0, arg1) {
|
|
2740
|
+
getObject(arg0).color = getObject(arg1);
|
|
2741
|
+
},
|
|
2742
|
+
__wbg_set_color_attachments_581fdb3310e4abfa: function(arg0, arg1, arg2) {
|
|
2743
|
+
getObject(arg0).colorAttachments = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
2744
|
+
},
|
|
2745
|
+
__wbg_set_compare_cd9b62cdb92eb580: function(arg0, arg1) {
|
|
2746
|
+
getObject(arg0).compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
2747
|
+
},
|
|
2748
|
+
__wbg_set_compare_f36b34abfaa08ccb: function(arg0, arg1) {
|
|
2749
|
+
getObject(arg0).compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
2750
|
+
},
|
|
2751
|
+
__wbg_set_compute_d0c2d276b6d4b18d: function(arg0, arg1) {
|
|
2752
|
+
getObject(arg0).compute = getObject(arg1);
|
|
2753
|
+
},
|
|
2754
|
+
__wbg_set_count_069a4eac409bac55: function(arg0, arg1) {
|
|
2755
|
+
getObject(arg0).count = arg1 >>> 0;
|
|
2756
|
+
},
|
|
2757
|
+
__wbg_set_count_3ab1c1220e4ceeb3: function(arg0, arg1) {
|
|
2758
|
+
getObject(arg0).count = arg1 >>> 0;
|
|
2759
|
+
},
|
|
2760
|
+
__wbg_set_cull_mode_fc649853947a3d0c: function(arg0, arg1) {
|
|
2761
|
+
getObject(arg0).cullMode = __wbindgen_enum_GpuCullMode[arg1];
|
|
2762
|
+
},
|
|
2763
|
+
__wbg_set_currentTime_7c37e2312e9d2687: function(arg0, arg1) {
|
|
2764
|
+
getObject(arg0).currentTime = arg1;
|
|
2765
|
+
},
|
|
2766
|
+
__wbg_set_depth_bias_clamp_1c0d695df7f092e5: function(arg0, arg1) {
|
|
2767
|
+
getObject(arg0).depthBiasClamp = arg1;
|
|
2768
|
+
},
|
|
2769
|
+
__wbg_set_depth_bias_d7cd16096242a657: function(arg0, arg1) {
|
|
2770
|
+
getObject(arg0).depthBias = arg1;
|
|
2771
|
+
},
|
|
2772
|
+
__wbg_set_depth_bias_slope_scale_c4e52ec743ef55ba: function(arg0, arg1) {
|
|
2773
|
+
getObject(arg0).depthBiasSlopeScale = arg1;
|
|
2774
|
+
},
|
|
2775
|
+
__wbg_set_depth_clear_value_beda3ec5b1a5c43a: function(arg0, arg1) {
|
|
2776
|
+
getObject(arg0).depthClearValue = arg1;
|
|
2777
|
+
},
|
|
2778
|
+
__wbg_set_depth_compare_0c8631eb2eae98e3: function(arg0, arg1) {
|
|
2779
|
+
getObject(arg0).depthCompare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
2780
|
+
},
|
|
2781
|
+
__wbg_set_depth_fail_op_668155ae33d3c06f: function(arg0, arg1) {
|
|
2782
|
+
getObject(arg0).depthFailOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
2783
|
+
},
|
|
2784
|
+
__wbg_set_depth_load_op_511c513eab4e56a9: function(arg0, arg1) {
|
|
2785
|
+
getObject(arg0).depthLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
2786
|
+
},
|
|
2787
|
+
__wbg_set_depth_or_array_layers_89371305ed0bd962: function(arg0, arg1) {
|
|
2788
|
+
getObject(arg0).depthOrArrayLayers = arg1 >>> 0;
|
|
2789
|
+
},
|
|
2790
|
+
__wbg_set_depth_read_only_7f41a74741c144ec: function(arg0, arg1) {
|
|
2791
|
+
getObject(arg0).depthReadOnly = arg1 !== 0;
|
|
2792
|
+
},
|
|
2793
|
+
__wbg_set_depth_stencil_97506c7bea4f53da: function(arg0, arg1) {
|
|
2794
|
+
getObject(arg0).depthStencil = getObject(arg1);
|
|
2795
|
+
},
|
|
2796
|
+
__wbg_set_depth_stencil_attachment_73b79e8b4e948222: function(arg0, arg1) {
|
|
2797
|
+
getObject(arg0).depthStencilAttachment = getObject(arg1);
|
|
2798
|
+
},
|
|
2799
|
+
__wbg_set_depth_store_op_c89f33b39b43361c: function(arg0, arg1) {
|
|
2800
|
+
getObject(arg0).depthStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
2801
|
+
},
|
|
2802
|
+
__wbg_set_depth_write_enabled_ce89750042940350: function(arg0, arg1) {
|
|
2803
|
+
getObject(arg0).depthWriteEnabled = arg1 !== 0;
|
|
2804
|
+
},
|
|
2805
|
+
__wbg_set_device_e275d1d4f3c9eb74: function(arg0, arg1) {
|
|
2806
|
+
getObject(arg0).device = getObject(arg1);
|
|
2807
|
+
},
|
|
2808
|
+
__wbg_set_dimension_868eee80f4b90011: function(arg0, arg1) {
|
|
2809
|
+
getObject(arg0).dimension = __wbindgen_enum_GpuTextureDimension[arg1];
|
|
2810
|
+
},
|
|
2811
|
+
__wbg_set_dimension_e325282e613ca0a4: function(arg0, arg1) {
|
|
2812
|
+
getObject(arg0).dimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
2813
|
+
},
|
|
2814
|
+
__wbg_set_dst_factor_ec7407f19be1aff9: function(arg0, arg1) {
|
|
2815
|
+
getObject(arg0).dstFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
2816
|
+
},
|
|
2817
|
+
__wbg_set_end_of_pass_write_index_0d546e46b86ea069: function(arg0, arg1) {
|
|
2818
|
+
getObject(arg0).endOfPassWriteIndex = arg1 >>> 0;
|
|
2819
|
+
},
|
|
2820
|
+
__wbg_set_end_of_pass_write_index_49a6ddbb2b888bfa: function(arg0, arg1) {
|
|
2821
|
+
getObject(arg0).endOfPassWriteIndex = arg1 >>> 0;
|
|
2822
|
+
},
|
|
2823
|
+
__wbg_set_entries_86a29dd6291c95e7: function(arg0, arg1, arg2) {
|
|
2824
|
+
getObject(arg0).entries = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
2825
|
+
},
|
|
2826
|
+
__wbg_set_entries_a12aca1e458b0456: function(arg0, arg1, arg2) {
|
|
2827
|
+
getObject(arg0).entries = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
2828
|
+
},
|
|
2829
|
+
__wbg_set_entry_point_207540f042015ce5: function(arg0, arg1, arg2) {
|
|
2830
|
+
getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
|
|
2831
|
+
},
|
|
2832
|
+
__wbg_set_entry_point_5f26aacbe4c545eb: function(arg0, arg1, arg2) {
|
|
2833
|
+
getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
|
|
2834
|
+
},
|
|
2835
|
+
__wbg_set_entry_point_e87e79251dd3144f: function(arg0, arg1, arg2) {
|
|
2836
|
+
getObject(arg0).entryPoint = getStringFromWasm0(arg1, arg2);
|
|
2837
|
+
},
|
|
2838
|
+
__wbg_set_external_texture_386483d8dd82ab56: function(arg0, arg1) {
|
|
2839
|
+
getObject(arg0).externalTexture = getObject(arg1);
|
|
2840
|
+
},
|
|
2841
|
+
__wbg_set_fail_op_92f716dbc88b6973: function(arg0, arg1) {
|
|
2842
|
+
getObject(arg0).failOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
2843
|
+
},
|
|
2844
|
+
__wbg_set_flip_y_4e1632b36ad0413a: function(arg0, arg1) {
|
|
2845
|
+
getObject(arg0).flipY = arg1 !== 0;
|
|
2846
|
+
},
|
|
2847
|
+
__wbg_set_format_1fcaa7d60546b490: function(arg0, arg1) {
|
|
2848
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
2849
|
+
},
|
|
2850
|
+
__wbg_set_format_2c1414a817c213f8: function(arg0, arg1) {
|
|
2851
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
2852
|
+
},
|
|
2853
|
+
__wbg_set_format_533f9ffa7eef563d: function(arg0, arg1) {
|
|
2854
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
2855
|
+
},
|
|
2856
|
+
__wbg_set_format_5d2f25cc93654ecc: function(arg0, arg1) {
|
|
2857
|
+
getObject(arg0).format = __wbindgen_enum_GpuVertexFormat[arg1];
|
|
2858
|
+
},
|
|
2859
|
+
__wbg_set_format_5ff53724ed6cedf2: function(arg0, arg1) {
|
|
2860
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
2861
|
+
},
|
|
2862
|
+
__wbg_set_format_815efd4dc4817bbb: function(arg0, arg1) {
|
|
2863
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
2864
|
+
},
|
|
2865
|
+
__wbg_set_format_e52bdcca880d2c8e: function(arg0, arg1) {
|
|
2866
|
+
getObject(arg0).format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
2867
|
+
},
|
|
2868
|
+
__wbg_set_fragment_8b780f00a0b0e6f3: function(arg0, arg1) {
|
|
2869
|
+
getObject(arg0).fragment = getObject(arg1);
|
|
2870
|
+
},
|
|
2871
|
+
__wbg_set_front_face_28ffdf524eedce5b: function(arg0, arg1) {
|
|
2872
|
+
getObject(arg0).frontFace = __wbindgen_enum_GpuFrontFace[arg1];
|
|
2873
|
+
},
|
|
2874
|
+
__wbg_set_g_5983abfc46e0cf4e: function(arg0, arg1) {
|
|
2875
|
+
getObject(arg0).g = arg1;
|
|
2876
|
+
},
|
|
2877
|
+
__wbg_set_has_dynamic_offset_62bc230bdb7c54d0: function(arg0, arg1) {
|
|
2878
|
+
getObject(arg0).hasDynamicOffset = arg1 !== 0;
|
|
2879
|
+
},
|
|
2880
|
+
__wbg_set_height_0739170de8653cc4: function(arg0, arg1) {
|
|
2881
|
+
getObject(arg0).height = arg1 >>> 0;
|
|
2882
|
+
},
|
|
2883
|
+
__wbg_set_height_14335c4047cf9c1b: function(arg0, arg1) {
|
|
2884
|
+
getObject(arg0).height = arg1 >>> 0;
|
|
2885
|
+
},
|
|
2886
|
+
__wbg_set_height_c661af0c0b5376f9: function(arg0, arg1) {
|
|
2887
|
+
getObject(arg0).height = arg1 >>> 0;
|
|
2888
|
+
},
|
|
2889
|
+
__wbg_set_label_08d9be3e4719c226: function(arg0, arg1, arg2) {
|
|
2890
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2891
|
+
},
|
|
2892
|
+
__wbg_set_label_17eb9fe3a02f62b0: function(arg0, arg1, arg2) {
|
|
2893
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2894
|
+
},
|
|
2895
|
+
__wbg_set_label_206558c8adc3780f: function(arg0, arg1, arg2) {
|
|
2896
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2897
|
+
},
|
|
2898
|
+
__wbg_set_label_48e6b787d256f621: function(arg0, arg1, arg2) {
|
|
2899
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2900
|
+
},
|
|
2901
|
+
__wbg_set_label_547d0d4aec39fbe9: function(arg0, arg1, arg2) {
|
|
2902
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2903
|
+
},
|
|
2904
|
+
__wbg_set_label_5ee7427342869829: function(arg0, arg1, arg2) {
|
|
2905
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2906
|
+
},
|
|
2907
|
+
__wbg_set_label_60ad96c811e0d109: function(arg0, arg1, arg2) {
|
|
2908
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2909
|
+
},
|
|
2910
|
+
__wbg_set_label_6db0393d3fdc90a5: function(arg0, arg1, arg2) {
|
|
2911
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2912
|
+
},
|
|
2913
|
+
__wbg_set_label_72bb4f41ef0cb893: function(arg0, arg1, arg2) {
|
|
2914
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2915
|
+
},
|
|
2916
|
+
__wbg_set_label_79387decda299036: function(arg0, arg1, arg2) {
|
|
2917
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2918
|
+
},
|
|
2919
|
+
__wbg_set_label_9556af8b5cda3c9d: function(arg0, arg1, arg2) {
|
|
2920
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2921
|
+
},
|
|
2922
|
+
__wbg_set_label_d010f237b26f2c55: function(arg0, arg1, arg2) {
|
|
2923
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2924
|
+
},
|
|
2925
|
+
__wbg_set_label_e16e2dbe51349c7f: function(arg0, arg1, arg2) {
|
|
2926
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2927
|
+
},
|
|
2928
|
+
__wbg_set_label_e3944e54881b8c50: function(arg0, arg1, arg2) {
|
|
2929
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2930
|
+
},
|
|
2931
|
+
__wbg_set_label_e922700240417ab5: function(arg0, arg1, arg2) {
|
|
2932
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2933
|
+
},
|
|
2934
|
+
__wbg_set_label_ef44793ddf4455c5: function(arg0, arg1, arg2) {
|
|
2935
|
+
getObject(arg0).label = getStringFromWasm0(arg1, arg2);
|
|
2936
|
+
},
|
|
2937
|
+
__wbg_set_layout_41021cfd2a2f62df: function(arg0, arg1) {
|
|
2938
|
+
getObject(arg0).layout = getObject(arg1);
|
|
2939
|
+
},
|
|
2940
|
+
__wbg_set_layout_50ab727f44b38f26: function(arg0, arg1) {
|
|
2941
|
+
getObject(arg0).layout = getObject(arg1);
|
|
2942
|
+
},
|
|
2943
|
+
__wbg_set_layout_913d53c17194c989: function(arg0, arg1) {
|
|
2944
|
+
getObject(arg0).layout = getObject(arg1);
|
|
2945
|
+
},
|
|
2946
|
+
__wbg_set_layout_gpu_auto_layout_mode_0a5a185b3d52b726: function(arg0, arg1) {
|
|
2947
|
+
getObject(arg0).layout = __wbindgen_enum_GpuAutoLayoutMode[arg1];
|
|
2948
|
+
},
|
|
2949
|
+
__wbg_set_layout_gpu_auto_layout_mode_aeba193938b47882: function(arg0, arg1) {
|
|
2950
|
+
getObject(arg0).layout = __wbindgen_enum_GpuAutoLayoutMode[arg1];
|
|
2951
|
+
},
|
|
2952
|
+
__wbg_set_load_op_99661da6c4eab9b0: function(arg0, arg1) {
|
|
2953
|
+
getObject(arg0).loadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
2954
|
+
},
|
|
2955
|
+
__wbg_set_lod_max_clamp_dd2d9f9f052f4f44: function(arg0, arg1) {
|
|
2956
|
+
getObject(arg0).lodMaxClamp = arg1;
|
|
2957
|
+
},
|
|
2958
|
+
__wbg_set_lod_min_clamp_6d20c97916baeb93: function(arg0, arg1) {
|
|
2959
|
+
getObject(arg0).lodMinClamp = arg1;
|
|
2960
|
+
},
|
|
2961
|
+
__wbg_set_loop_b622b726769860be: function(arg0, arg1) {
|
|
2962
|
+
getObject(arg0).loop = arg1 !== 0;
|
|
2963
|
+
},
|
|
2964
|
+
__wbg_set_mag_filter_b5adebc99cb938e1: function(arg0, arg1) {
|
|
2965
|
+
getObject(arg0).magFilter = __wbindgen_enum_GpuFilterMode[arg1];
|
|
2966
|
+
},
|
|
2967
|
+
__wbg_set_mapped_at_creation_81b586dc90a50347: function(arg0, arg1) {
|
|
2968
|
+
getObject(arg0).mappedAtCreation = arg1 !== 0;
|
|
2969
|
+
},
|
|
2970
|
+
__wbg_set_mask_70a8a59ce09e5997: function(arg0, arg1) {
|
|
2971
|
+
getObject(arg0).mask = arg1 >>> 0;
|
|
2972
|
+
},
|
|
2973
|
+
__wbg_set_max_anisotropy_2beada0e2db62c45: function(arg0, arg1) {
|
|
2974
|
+
getObject(arg0).maxAnisotropy = arg1;
|
|
2975
|
+
},
|
|
2976
|
+
__wbg_set_method_7a6811dec7a4feff: function(arg0, arg1, arg2) {
|
|
2977
|
+
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
|
2978
|
+
},
|
|
2979
|
+
__wbg_set_min_binding_size_f64_5005a6904cdf43da: function(arg0, arg1) {
|
|
2980
|
+
getObject(arg0).minBindingSize = arg1;
|
|
2981
|
+
},
|
|
2982
|
+
__wbg_set_min_filter_c72f17375e135f0a: function(arg0, arg1) {
|
|
2983
|
+
getObject(arg0).minFilter = __wbindgen_enum_GpuFilterMode[arg1];
|
|
2984
|
+
},
|
|
2985
|
+
__wbg_set_mip_level_13253f3afc7aa58a: function(arg0, arg1) {
|
|
2986
|
+
getObject(arg0).mipLevel = arg1 >>> 0;
|
|
2987
|
+
},
|
|
2988
|
+
__wbg_set_mip_level_count_534caaa7e68e68b8: function(arg0, arg1) {
|
|
2989
|
+
getObject(arg0).mipLevelCount = arg1 >>> 0;
|
|
2990
|
+
},
|
|
2991
|
+
__wbg_set_mip_level_count_776c8c218b65bc08: function(arg0, arg1) {
|
|
2992
|
+
getObject(arg0).mipLevelCount = arg1 >>> 0;
|
|
2993
|
+
},
|
|
2994
|
+
__wbg_set_mip_level_f7ac79e8c54f59ad: function(arg0, arg1) {
|
|
2995
|
+
getObject(arg0).mipLevel = arg1 >>> 0;
|
|
2996
|
+
},
|
|
2997
|
+
__wbg_set_mipmap_filter_5bf66195a3639700: function(arg0, arg1) {
|
|
2998
|
+
getObject(arg0).mipmapFilter = __wbindgen_enum_GpuMipmapFilterMode[arg1];
|
|
2999
|
+
},
|
|
3000
|
+
__wbg_set_mode_9990b3393ba469ae: function(arg0, arg1) {
|
|
3001
|
+
getObject(arg0).mode = __wbindgen_enum_GpuCanvasToneMappingMode[arg1];
|
|
3002
|
+
},
|
|
3003
|
+
__wbg_set_mode_c90e3667002857d4: function(arg0, arg1) {
|
|
3004
|
+
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
|
3005
|
+
},
|
|
3006
|
+
__wbg_set_module_5db9b76ee2dd2a59: function(arg0, arg1) {
|
|
3007
|
+
getObject(arg0).module = getObject(arg1);
|
|
3008
|
+
},
|
|
3009
|
+
__wbg_set_module_d0e2098713606cae: function(arg0, arg1) {
|
|
3010
|
+
getObject(arg0).module = getObject(arg1);
|
|
3011
|
+
},
|
|
3012
|
+
__wbg_set_module_f02e076ca7e7daf8: function(arg0, arg1) {
|
|
3013
|
+
getObject(arg0).module = getObject(arg1);
|
|
3014
|
+
},
|
|
3015
|
+
__wbg_set_multisample_37ddafe88b5cd466: function(arg0, arg1) {
|
|
3016
|
+
getObject(arg0).multisample = getObject(arg1);
|
|
3017
|
+
},
|
|
3018
|
+
__wbg_set_multisampled_7913fd7183272840: function(arg0, arg1) {
|
|
3019
|
+
getObject(arg0).multisampled = arg1 !== 0;
|
|
3020
|
+
},
|
|
3021
|
+
__wbg_set_muted_16f1e7acd8244e28: function(arg0, arg1) {
|
|
3022
|
+
getObject(arg0).muted = arg1 !== 0;
|
|
3023
|
+
},
|
|
3024
|
+
__wbg_set_offset_f64_28c24dc15000932e: function(arg0, arg1) {
|
|
3025
|
+
getObject(arg0).offset = arg1;
|
|
3026
|
+
},
|
|
3027
|
+
__wbg_set_offset_f64_89f0ce01a689839e: function(arg0, arg1) {
|
|
3028
|
+
getObject(arg0).offset = arg1;
|
|
3029
|
+
},
|
|
3030
|
+
__wbg_set_offset_f64_b562d1367e34ef93: function(arg0, arg1) {
|
|
3031
|
+
getObject(arg0).offset = arg1;
|
|
3032
|
+
},
|
|
3033
|
+
__wbg_set_offset_f64_fa66068813376ca3: function(arg0, arg1) {
|
|
3034
|
+
getObject(arg0).offset = arg1;
|
|
3035
|
+
},
|
|
3036
|
+
__wbg_set_once_27df5233613a51cd: function(arg0, arg1) {
|
|
3037
|
+
getObject(arg0).once = arg1 !== 0;
|
|
3038
|
+
},
|
|
3039
|
+
__wbg_set_operation_62ce44e1728c4047: function(arg0, arg1) {
|
|
3040
|
+
getObject(arg0).operation = __wbindgen_enum_GpuBlendOperation[arg1];
|
|
3041
|
+
},
|
|
3042
|
+
__wbg_set_origin_gpu_origin_2d_dict_1240202973e56f92: function(arg0, arg1) {
|
|
3043
|
+
getObject(arg0).origin = getObject(arg1);
|
|
3044
|
+
},
|
|
3045
|
+
__wbg_set_origin_gpu_origin_3d_dict_37222d7b3d238123: function(arg0, arg1) {
|
|
3046
|
+
getObject(arg0).origin = getObject(arg1);
|
|
3047
|
+
},
|
|
3048
|
+
__wbg_set_origin_gpu_origin_3d_dict_631c04520718091f: function(arg0, arg1) {
|
|
3049
|
+
getObject(arg0).origin = getObject(arg1);
|
|
3050
|
+
},
|
|
3051
|
+
__wbg_set_pass_op_cf02fa088d6352a7: function(arg0, arg1) {
|
|
3052
|
+
getObject(arg0).passOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
3053
|
+
},
|
|
3054
|
+
__wbg_set_power_preference_8fdca0b7af640d49: function(arg0, arg1) {
|
|
3055
|
+
getObject(arg0).powerPreference = __wbindgen_enum_GpuPowerPreference[arg1];
|
|
3056
|
+
},
|
|
3057
|
+
__wbg_set_premultiplied_alpha_3f27816ad319d5a9: function(arg0, arg1) {
|
|
3058
|
+
getObject(arg0).premultipliedAlpha = arg1 !== 0;
|
|
3059
|
+
},
|
|
3060
|
+
__wbg_set_primitive_43c23761a55b4088: function(arg0, arg1) {
|
|
3061
|
+
getObject(arg0).primitive = getObject(arg1);
|
|
3062
|
+
},
|
|
3063
|
+
__wbg_set_query_set_41de86d2401aee04: function(arg0, arg1) {
|
|
3064
|
+
getObject(arg0).querySet = getObject(arg1);
|
|
3065
|
+
},
|
|
3066
|
+
__wbg_set_query_set_4889dd944d5ec0fd: function(arg0, arg1) {
|
|
3067
|
+
getObject(arg0).querySet = getObject(arg1);
|
|
3068
|
+
},
|
|
3069
|
+
__wbg_set_r_c6f4c68f4804d655: function(arg0, arg1) {
|
|
3070
|
+
getObject(arg0).r = arg1;
|
|
3071
|
+
},
|
|
3072
|
+
__wbg_set_required_features_1baf274a8669db60: function(arg0, arg1, arg2) {
|
|
3073
|
+
getObject(arg0).requiredFeatures = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
3074
|
+
},
|
|
3075
|
+
__wbg_set_required_limits_871ed33c68613dcb: function(arg0, arg1) {
|
|
3076
|
+
getObject(arg0).requiredLimits = getObject(arg1);
|
|
3077
|
+
},
|
|
3078
|
+
__wbg_set_resolve_target_gpu_texture_view_b19a4f2debf79b96: function(arg0, arg1) {
|
|
3079
|
+
getObject(arg0).resolveTarget = getObject(arg1);
|
|
3080
|
+
},
|
|
3081
|
+
__wbg_set_resource_5ae7b5e67924f234: function(arg0, arg1) {
|
|
3082
|
+
getObject(arg0).resource = getObject(arg1);
|
|
3083
|
+
},
|
|
3084
|
+
__wbg_set_resource_gpu_buffer_binding_e5dbca063e7cb67b: function(arg0, arg1) {
|
|
3085
|
+
getObject(arg0).resource = getObject(arg1);
|
|
3086
|
+
},
|
|
3087
|
+
__wbg_set_resource_gpu_texture_view_eb46c355d51ad7e5: function(arg0, arg1) {
|
|
3088
|
+
getObject(arg0).resource = getObject(arg1);
|
|
3089
|
+
},
|
|
3090
|
+
__wbg_set_rows_per_image_5011f97318ee71af: function(arg0, arg1) {
|
|
3091
|
+
getObject(arg0).rowsPerImage = arg1 >>> 0;
|
|
3092
|
+
},
|
|
3093
|
+
__wbg_set_rows_per_image_59a813ac5006e10e: function(arg0, arg1) {
|
|
3094
|
+
getObject(arg0).rowsPerImage = arg1 >>> 0;
|
|
3095
|
+
},
|
|
3096
|
+
__wbg_set_sample_count_eb86a8b18545b54f: function(arg0, arg1) {
|
|
3097
|
+
getObject(arg0).sampleCount = arg1 >>> 0;
|
|
3098
|
+
},
|
|
3099
|
+
__wbg_set_sample_type_c32e1dfff94e63eb: function(arg0, arg1) {
|
|
3100
|
+
getObject(arg0).sampleType = __wbindgen_enum_GpuTextureSampleType[arg1];
|
|
3101
|
+
},
|
|
3102
|
+
__wbg_set_sampler_c0e1258543a33bce: function(arg0, arg1) {
|
|
3103
|
+
getObject(arg0).sampler = getObject(arg1);
|
|
3104
|
+
},
|
|
3105
|
+
__wbg_set_shader_location_7e1832a74f912217: function(arg0, arg1) {
|
|
3106
|
+
getObject(arg0).shaderLocation = arg1 >>> 0;
|
|
3107
|
+
},
|
|
3108
|
+
__wbg_set_size_f64_6bcd40704bf4cfdc: function(arg0, arg1) {
|
|
3109
|
+
getObject(arg0).size = arg1;
|
|
3110
|
+
},
|
|
3111
|
+
__wbg_set_size_f64_8b8f6bba5d678162: function(arg0, arg1) {
|
|
3112
|
+
getObject(arg0).size = arg1;
|
|
3113
|
+
},
|
|
3114
|
+
__wbg_set_size_gpu_extent_3d_dict_7e42e1c98fa36434: function(arg0, arg1) {
|
|
3115
|
+
getObject(arg0).size = getObject(arg1);
|
|
3116
|
+
},
|
|
3117
|
+
__wbg_set_source_0c40b87cfdd5d704: function(arg0, arg1) {
|
|
3118
|
+
getObject(arg0).source = getObject(arg1);
|
|
3119
|
+
},
|
|
3120
|
+
__wbg_set_source_html_canvas_element_f657e39507ba2fe5: function(arg0, arg1) {
|
|
3121
|
+
getObject(arg0).source = getObject(arg1);
|
|
3122
|
+
},
|
|
3123
|
+
__wbg_set_source_html_image_element_fcc7cba0635adac1: function(arg0, arg1) {
|
|
3124
|
+
getObject(arg0).source = getObject(arg1);
|
|
3125
|
+
},
|
|
3126
|
+
__wbg_set_source_html_video_element_e63a39653665f651: function(arg0, arg1) {
|
|
3127
|
+
getObject(arg0).source = getObject(arg1);
|
|
3128
|
+
},
|
|
3129
|
+
__wbg_set_source_image_data_68478f1afce208b8: function(arg0, arg1) {
|
|
3130
|
+
getObject(arg0).source = getObject(arg1);
|
|
3131
|
+
},
|
|
3132
|
+
__wbg_set_source_offscreen_canvas_266a3de949693e62: function(arg0, arg1) {
|
|
3133
|
+
getObject(arg0).source = getObject(arg1);
|
|
3134
|
+
},
|
|
3135
|
+
__wbg_set_source_video_frame_3083c0ce54b9cb73: function(arg0, arg1) {
|
|
3136
|
+
getObject(arg0).source = getObject(arg1);
|
|
3137
|
+
},
|
|
3138
|
+
__wbg_set_src_factor_9bfe84af9b7b5cac: function(arg0, arg1) {
|
|
3139
|
+
getObject(arg0).srcFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
3140
|
+
},
|
|
3141
|
+
__wbg_set_stencil_back_85b22f1db5b1940a: function(arg0, arg1) {
|
|
3142
|
+
getObject(arg0).stencilBack = getObject(arg1);
|
|
3143
|
+
},
|
|
3144
|
+
__wbg_set_stencil_clear_value_42be608809151e2a: function(arg0, arg1) {
|
|
3145
|
+
getObject(arg0).stencilClearValue = arg1 >>> 0;
|
|
3146
|
+
},
|
|
3147
|
+
__wbg_set_stencil_front_525526164a798a44: function(arg0, arg1) {
|
|
3148
|
+
getObject(arg0).stencilFront = getObject(arg1);
|
|
3149
|
+
},
|
|
3150
|
+
__wbg_set_stencil_load_op_31838c036993098a: function(arg0, arg1) {
|
|
3151
|
+
getObject(arg0).stencilLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
3152
|
+
},
|
|
3153
|
+
__wbg_set_stencil_read_mask_5cc26495e8b3ae82: function(arg0, arg1) {
|
|
3154
|
+
getObject(arg0).stencilReadMask = arg1 >>> 0;
|
|
3155
|
+
},
|
|
3156
|
+
__wbg_set_stencil_read_only_bf1d0c1897e25c62: function(arg0, arg1) {
|
|
3157
|
+
getObject(arg0).stencilReadOnly = arg1 !== 0;
|
|
3158
|
+
},
|
|
3159
|
+
__wbg_set_stencil_store_op_e6be1cbc3a8fc210: function(arg0, arg1) {
|
|
3160
|
+
getObject(arg0).stencilStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
3161
|
+
},
|
|
3162
|
+
__wbg_set_stencil_write_mask_d9cb40ec4b4bee5b: function(arg0, arg1) {
|
|
3163
|
+
getObject(arg0).stencilWriteMask = arg1 >>> 0;
|
|
3164
|
+
},
|
|
3165
|
+
__wbg_set_step_mode_a97bb24714da41a9: function(arg0, arg1) {
|
|
3166
|
+
getObject(arg0).stepMode = __wbindgen_enum_GpuVertexStepMode[arg1];
|
|
3167
|
+
},
|
|
3168
|
+
__wbg_set_storage_texture_939a097db4b18bd4: function(arg0, arg1) {
|
|
3169
|
+
getObject(arg0).storageTexture = getObject(arg1);
|
|
3170
|
+
},
|
|
3171
|
+
__wbg_set_store_op_b5fdf672436f13f3: function(arg0, arg1) {
|
|
3172
|
+
getObject(arg0).storeOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
3173
|
+
},
|
|
3174
|
+
__wbg_set_strip_index_format_9f787be6c5fc9e87: function(arg0, arg1) {
|
|
3175
|
+
getObject(arg0).stripIndexFormat = __wbindgen_enum_GpuIndexFormat[arg1];
|
|
3176
|
+
},
|
|
3177
|
+
__wbg_set_targets_c38bd200c836d66f: function(arg0, arg1, arg2) {
|
|
3178
|
+
getObject(arg0).targets = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
3179
|
+
},
|
|
3180
|
+
__wbg_set_texture_016561d5911339e5: function(arg0, arg1) {
|
|
3181
|
+
getObject(arg0).texture = getObject(arg1);
|
|
3182
|
+
},
|
|
3183
|
+
__wbg_set_texture_1f64653a5d2d7b4d: function(arg0, arg1) {
|
|
3184
|
+
getObject(arg0).texture = getObject(arg1);
|
|
3185
|
+
},
|
|
3186
|
+
__wbg_set_texture_9dcedde1bb31eda6: function(arg0, arg1) {
|
|
3187
|
+
getObject(arg0).texture = getObject(arg1);
|
|
3188
|
+
},
|
|
3189
|
+
__wbg_set_timestamp_writes_59c2d19ed8aecd97: function(arg0, arg1) {
|
|
3190
|
+
getObject(arg0).timestampWrites = getObject(arg1);
|
|
3191
|
+
},
|
|
3192
|
+
__wbg_set_timestamp_writes_98bed1a8bbc6682d: function(arg0, arg1) {
|
|
3193
|
+
getObject(arg0).timestampWrites = getObject(arg1);
|
|
3194
|
+
},
|
|
3195
|
+
__wbg_set_tone_mapping_b3464f1baa4cff92: function(arg0, arg1) {
|
|
3196
|
+
getObject(arg0).toneMapping = getObject(arg1);
|
|
3197
|
+
},
|
|
3198
|
+
__wbg_set_topology_da25f2cc5af203d2: function(arg0, arg1) {
|
|
3199
|
+
getObject(arg0).topology = __wbindgen_enum_GpuPrimitiveTopology[arg1];
|
|
3200
|
+
},
|
|
3201
|
+
__wbg_set_type_7f0457c6084dde9b: function(arg0, arg1) {
|
|
3202
|
+
getObject(arg0).type = __wbindgen_enum_GpuQueryType[arg1];
|
|
3203
|
+
},
|
|
3204
|
+
__wbg_set_type_ccf8472d40abcddf: function(arg0, arg1) {
|
|
3205
|
+
getObject(arg0).type = __wbindgen_enum_GpuSamplerBindingType[arg1];
|
|
3206
|
+
},
|
|
3207
|
+
__wbg_set_type_d09829f59932a0fc: function(arg0, arg1) {
|
|
3208
|
+
getObject(arg0).type = __wbindgen_enum_GpuBufferBindingType[arg1];
|
|
3209
|
+
},
|
|
3210
|
+
__wbg_set_unclipped_depth_04524a2b44e1e3c1: function(arg0, arg1) {
|
|
3211
|
+
getObject(arg0).unclippedDepth = arg1 !== 0;
|
|
3212
|
+
},
|
|
3213
|
+
__wbg_set_usage_a137f82ca163b0a9: function(arg0, arg1) {
|
|
3214
|
+
getObject(arg0).usage = arg1 >>> 0;
|
|
3215
|
+
},
|
|
3216
|
+
__wbg_set_usage_b2a2935f37bf3d08: function(arg0, arg1) {
|
|
3217
|
+
getObject(arg0).usage = arg1 >>> 0;
|
|
3218
|
+
},
|
|
3219
|
+
__wbg_set_usage_ba5b0f8b333ab325: function(arg0, arg1) {
|
|
3220
|
+
getObject(arg0).usage = arg1 >>> 0;
|
|
3221
|
+
},
|
|
3222
|
+
__wbg_set_usage_ddd42599bbba7779: function(arg0, arg1) {
|
|
3223
|
+
getObject(arg0).usage = arg1 >>> 0;
|
|
3224
|
+
},
|
|
3225
|
+
__wbg_set_vertex_0be5d146f9ff6f36: function(arg0, arg1) {
|
|
3226
|
+
getObject(arg0).vertex = getObject(arg1);
|
|
3227
|
+
},
|
|
3228
|
+
__wbg_set_view_dimension_0df554032f1f3a85: function(arg0, arg1) {
|
|
3229
|
+
getObject(arg0).viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
3230
|
+
},
|
|
3231
|
+
__wbg_set_view_dimension_4818d4c18ce5815e: function(arg0, arg1) {
|
|
3232
|
+
getObject(arg0).viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
3233
|
+
},
|
|
3234
|
+
__wbg_set_view_formats_4347dc8363331086: function(arg0, arg1, arg2) {
|
|
3235
|
+
getObject(arg0).viewFormats = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
3236
|
+
},
|
|
3237
|
+
__wbg_set_view_formats_5797d2fff3c11808: function(arg0, arg1, arg2) {
|
|
3238
|
+
getObject(arg0).viewFormats = getArrayJsValueViewFromWasm0(arg1, arg2);
|
|
3239
|
+
},
|
|
3240
|
+
__wbg_set_view_gpu_texture_view_9b2d86b6b99d9fd9: function(arg0, arg1) {
|
|
3241
|
+
getObject(arg0).view = getObject(arg1);
|
|
3242
|
+
},
|
|
3243
|
+
__wbg_set_view_gpu_texture_view_c0f35f8857c25206: function(arg0, arg1) {
|
|
3244
|
+
getObject(arg0).view = getObject(arg1);
|
|
3245
|
+
},
|
|
3246
|
+
__wbg_set_visibility_9570b037224c4cc2: function(arg0, arg1) {
|
|
3247
|
+
getObject(arg0).visibility = arg1 >>> 0;
|
|
3248
|
+
},
|
|
3249
|
+
__wbg_set_volume_520cdc6b7ada8f76: function(arg0, arg1) {
|
|
3250
|
+
getObject(arg0).volume = arg1;
|
|
3251
|
+
},
|
|
3252
|
+
__wbg_set_width_7ca43f32db1cfe8e: function(arg0, arg1) {
|
|
3253
|
+
getObject(arg0).width = arg1 >>> 0;
|
|
3254
|
+
},
|
|
3255
|
+
__wbg_set_width_87301412247f3343: function(arg0, arg1) {
|
|
3256
|
+
getObject(arg0).width = arg1 >>> 0;
|
|
3257
|
+
},
|
|
3258
|
+
__wbg_set_width_9f685402c2cbee70: function(arg0, arg1) {
|
|
3259
|
+
getObject(arg0).width = arg1 >>> 0;
|
|
3260
|
+
},
|
|
3261
|
+
__wbg_set_write_mask_d45279e56abbfcb5: function(arg0, arg1) {
|
|
3262
|
+
getObject(arg0).writeMask = arg1 >>> 0;
|
|
3263
|
+
},
|
|
3264
|
+
__wbg_set_x_232d24fdc32d8351: function(arg0, arg1) {
|
|
3265
|
+
getObject(arg0).x = arg1 >>> 0;
|
|
3266
|
+
},
|
|
3267
|
+
__wbg_set_x_876d592971db129a: function(arg0, arg1) {
|
|
3268
|
+
getObject(arg0).x = arg1 >>> 0;
|
|
3269
|
+
},
|
|
3270
|
+
__wbg_set_y_18fe375093e59dfb: function(arg0, arg1) {
|
|
3271
|
+
getObject(arg0).y = arg1 >>> 0;
|
|
3272
|
+
},
|
|
3273
|
+
__wbg_set_y_2b1f5ac0dd5586a5: function(arg0, arg1) {
|
|
3274
|
+
getObject(arg0).y = arg1 >>> 0;
|
|
3275
|
+
},
|
|
3276
|
+
__wbg_set_z_ef005d82bc9d24e3: function(arg0, arg1) {
|
|
3277
|
+
getObject(arg0).z = arg1 >>> 0;
|
|
3278
|
+
},
|
|
3279
|
+
__wbg_shaderSource_7d18b5a43a504f5c: function(arg0, arg1, arg2, arg3) {
|
|
3280
|
+
getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
3281
|
+
},
|
|
3282
|
+
__wbg_shaderSource_df5bb6320451f3cd: function(arg0, arg1, arg2, arg3) {
|
|
3283
|
+
getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
3284
|
+
},
|
|
3285
|
+
__wbg_size_211f88d386430781: function(arg0) {
|
|
3286
|
+
const ret = getObject(arg0).size;
|
|
3287
|
+
return ret;
|
|
3288
|
+
},
|
|
3289
|
+
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
3290
|
+
const ret = getObject(arg1).stack;
|
|
3291
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
3292
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3293
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3294
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3295
|
+
},
|
|
3296
|
+
__wbg_static_accessor_GLOBAL_9d53f2689e622ca1: function() {
|
|
3297
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
3298
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
3299
|
+
},
|
|
3300
|
+
__wbg_static_accessor_GLOBAL_THIS_a1a35cec07001a8a: function() {
|
|
3301
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
3302
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
3303
|
+
},
|
|
3304
|
+
__wbg_static_accessor_SELF_4c59f6c7ea29a144: function() {
|
|
3305
|
+
const ret = typeof self === 'undefined' ? null : self;
|
|
3306
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
3307
|
+
},
|
|
3308
|
+
__wbg_static_accessor_WINDOW_e70ae9f2eb052253: function() {
|
|
3309
|
+
const ret = typeof window === 'undefined' ? null : window;
|
|
3310
|
+
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
3311
|
+
},
|
|
3312
|
+
__wbg_stencilFunc_8f53a5508560354d: function(arg0, arg1, arg2, arg3) {
|
|
3313
|
+
getObject(arg0).stencilFunc(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3314
|
+
},
|
|
3315
|
+
__wbg_stencilFunc_c7553215f237ee38: function(arg0, arg1, arg2, arg3) {
|
|
3316
|
+
getObject(arg0).stencilFunc(arg1 >>> 0, arg2, arg3 >>> 0);
|
|
3317
|
+
},
|
|
3318
|
+
__wbg_stencilOp_a844a4e9824eee70: function(arg0, arg1, arg2, arg3) {
|
|
3319
|
+
getObject(arg0).stencilOp(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);
|
|
3320
|
+
},
|
|
3321
|
+
__wbg_stencilOp_e82bd7ea13f18adf: function(arg0, arg1, arg2, arg3) {
|
|
3322
|
+
getObject(arg0).stencilOp(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);
|
|
3323
|
+
},
|
|
3324
|
+
__wbg_subgroupMaxSize_1527c5f7a8fe91bb: function(arg0) {
|
|
3325
|
+
const ret = getObject(arg0).subgroupMaxSize;
|
|
3326
|
+
return ret;
|
|
3327
|
+
},
|
|
3328
|
+
__wbg_subgroupMinSize_d6c5ad4bddc828e9: function(arg0) {
|
|
3329
|
+
const ret = getObject(arg0).subgroupMinSize;
|
|
3330
|
+
return ret;
|
|
3331
|
+
},
|
|
3332
|
+
__wbg_submit_ce44115121cd166c: function(arg0, arg1, arg2) {
|
|
3333
|
+
getObject(arg0).submit(getArrayJsValueViewFromWasm0(arg1, arg2));
|
|
3334
|
+
},
|
|
3335
|
+
__wbg_texImage2D_01c22558517ee8db: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3336
|
+
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4 >>> 0, arg5 >>> 0, getObject(arg6));
|
|
3337
|
+
}, arguments); },
|
|
3338
|
+
__wbg_texImage2D_152e9dcd4bc3a464: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
3339
|
+
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
3340
|
+
}, arguments); },
|
|
3341
|
+
__wbg_texImage2D_3704db20a16b6c35: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
3342
|
+
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
3343
|
+
}, arguments); },
|
|
3344
|
+
__wbg_texImage2D_63d0b87d5ebe4a7f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3345
|
+
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4 >>> 0, arg5 >>> 0, getObject(arg6));
|
|
3346
|
+
}, arguments); },
|
|
3347
|
+
__wbg_texImage2D_90633e994ded3d2b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3348
|
+
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4 >>> 0, arg5 >>> 0, getObject(arg6));
|
|
3349
|
+
}, arguments); },
|
|
3350
|
+
__wbg_texImage2D_ea94e8a2df5f97e2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
3351
|
+
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
3352
|
+
}, arguments); },
|
|
3353
|
+
__wbg_texImage2D_facfa039fb461b66: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3354
|
+
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4 >>> 0, arg5 >>> 0, getObject(arg6));
|
|
3355
|
+
}, arguments); },
|
|
3356
|
+
__wbg_texParameteri_87ebfcefb0af2c50: function(arg0, arg1, arg2, arg3) {
|
|
3357
|
+
getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
3358
|
+
},
|
|
3359
|
+
__wbg_texParameteri_e5ad2054e239066e: function(arg0, arg1, arg2, arg3) {
|
|
3360
|
+
getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
3361
|
+
},
|
|
3362
|
+
__wbg_texStorage2D_bb2a1bd1ab0b9184: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3363
|
+
getObject(arg0).texStorage2D(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
3364
|
+
},
|
|
3365
|
+
__wbg_texSubImage2D_3483ba5f10ee42c2: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
3366
|
+
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7));
|
|
3367
|
+
}, arguments); },
|
|
3368
|
+
__wbg_texSubImage2D_4ca4c3faa4392438: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
3369
|
+
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
3370
|
+
}, arguments); },
|
|
3371
|
+
__wbg_texSubImage2D_54d18572b1ba74ab: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
3372
|
+
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
|
|
3373
|
+
}, arguments); },
|
|
3374
|
+
__wbg_texSubImage2D_5bebe93724e6ed61: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
3375
|
+
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
|
|
3376
|
+
}, arguments); },
|
|
3377
|
+
__wbg_texSubImage2D_5e1594de0416e9f6: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
3378
|
+
getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7));
|
|
3379
|
+
}, arguments); },
|
|
3380
|
+
__wbg_then_18f476d590e58992: function(arg0, arg1, arg2) {
|
|
3381
|
+
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
3382
|
+
return addHeapObject(ret);
|
|
3383
|
+
},
|
|
3384
|
+
__wbg_then_47213a40b6aeb86c: function(arg0, arg1) {
|
|
3385
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
|
3386
|
+
return addHeapObject(ret);
|
|
3387
|
+
},
|
|
3388
|
+
__wbg_then_ac7b025999b52837: function(arg0, arg1) {
|
|
3389
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
|
3390
|
+
return addHeapObject(ret);
|
|
3391
|
+
},
|
|
3392
|
+
__wbg_type_71742b859467fa3c: function(arg0) {
|
|
3393
|
+
const ret = getObject(arg0).type;
|
|
3394
|
+
return ret;
|
|
3395
|
+
},
|
|
3396
|
+
__wbg_unconfigure_0a07a0a40de8988d: function(arg0) {
|
|
3397
|
+
getObject(arg0).unconfigure();
|
|
3398
|
+
},
|
|
3399
|
+
__wbg_uniform1f_8c3b3e6e3723fe14: function(arg0, arg1, arg2) {
|
|
3400
|
+
getObject(arg0).uniform1f(getObject(arg1), arg2);
|
|
3401
|
+
},
|
|
3402
|
+
__wbg_uniform1f_d6619faa73c2a45f: function(arg0, arg1, arg2) {
|
|
3403
|
+
getObject(arg0).uniform1f(getObject(arg1), arg2);
|
|
3404
|
+
},
|
|
3405
|
+
__wbg_uniform1fv_11d5842aff79c8a3: function(arg0, arg1, arg2, arg3) {
|
|
3406
|
+
getObject(arg0).uniform1fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
3407
|
+
},
|
|
3408
|
+
__wbg_uniform1fv_b4b087b4d6e2bb25: function(arg0, arg1, arg2, arg3) {
|
|
3409
|
+
getObject(arg0).uniform1fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
3410
|
+
},
|
|
3411
|
+
__wbg_uniform1i_14982bb8438243b4: function(arg0, arg1, arg2) {
|
|
3412
|
+
getObject(arg0).uniform1i(getObject(arg1), arg2);
|
|
3413
|
+
},
|
|
3414
|
+
__wbg_uniform1i_cf11d5b364eed1c8: function(arg0, arg1, arg2) {
|
|
3415
|
+
getObject(arg0).uniform1i(getObject(arg1), arg2);
|
|
3416
|
+
},
|
|
3417
|
+
__wbg_uniform1ui_d177882f473d2afc: function(arg0, arg1, arg2) {
|
|
3418
|
+
getObject(arg0).uniform1ui(getObject(arg1), arg2 >>> 0);
|
|
3419
|
+
},
|
|
3420
|
+
__wbg_uniform2f_19fb96222ae72e1a: function(arg0, arg1, arg2, arg3) {
|
|
3421
|
+
getObject(arg0).uniform2f(getObject(arg1), arg2, arg3);
|
|
3422
|
+
},
|
|
3423
|
+
__wbg_uniform2f_44cee47e30b82f96: function(arg0, arg1, arg2, arg3) {
|
|
3424
|
+
getObject(arg0).uniform2f(getObject(arg1), arg2, arg3);
|
|
3425
|
+
},
|
|
3426
|
+
__wbg_uniform2fv_2f06d989ec4b5d8f: function(arg0, arg1, arg2, arg3) {
|
|
3427
|
+
getObject(arg0).uniform2fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
3428
|
+
},
|
|
3429
|
+
__wbg_uniform2fv_f022309b362a80c3: function(arg0, arg1, arg2, arg3) {
|
|
3430
|
+
getObject(arg0).uniform2fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
|
|
3431
|
+
},
|
|
3432
|
+
__wbg_uniform2i_16e8a2c966614be6: function(arg0, arg1, arg2, arg3) {
|
|
3433
|
+
getObject(arg0).uniform2i(getObject(arg1), arg2, arg3);
|
|
3434
|
+
},
|
|
3435
|
+
__wbg_uniform2i_d353da02172ea38d: function(arg0, arg1, arg2, arg3) {
|
|
3436
|
+
getObject(arg0).uniform2i(getObject(arg1), arg2, arg3);
|
|
3437
|
+
},
|
|
3438
|
+
__wbg_uniform3f_360c1ea4c73cacef: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3439
|
+
getObject(arg0).uniform3f(getObject(arg1), arg2, arg3, arg4);
|
|
3440
|
+
},
|
|
3441
|
+
__wbg_uniform3f_b616f9e06266a25f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3442
|
+
getObject(arg0).uniform3f(getObject(arg1), arg2, arg3, arg4);
|
|
3443
|
+
},
|
|
3444
|
+
__wbg_uniform4f_f1a670d511b34878: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3445
|
+
getObject(arg0).uniform4f(getObject(arg1), arg2, arg3, arg4, arg5);
|
|
3446
|
+
},
|
|
3447
|
+
__wbg_uniform4f_f97f3f59af09856f: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3448
|
+
getObject(arg0).uniform4f(getObject(arg1), arg2, arg3, arg4, arg5);
|
|
3449
|
+
},
|
|
3450
|
+
__wbg_uniformMatrix3fv_f45b91f173d7fbed: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3451
|
+
getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
3452
|
+
},
|
|
3453
|
+
__wbg_uniformMatrix3fv_feab3f952d705f51: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3454
|
+
getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
3455
|
+
},
|
|
3456
|
+
__wbg_uniformMatrix3x2fv_ab13f9742e5fcb2f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3457
|
+
getObject(arg0).uniformMatrix3x2fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
3458
|
+
},
|
|
3459
|
+
__wbg_uniformMatrix4fv_540dc6bf792eba8f: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3460
|
+
getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
3461
|
+
},
|
|
3462
|
+
__wbg_uniformMatrix4fv_e3dac9dd429d6adc: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3463
|
+
getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
3464
|
+
},
|
|
3465
|
+
__wbg_uniformMatrix4x3fv_115d029ad3124cef: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3466
|
+
getObject(arg0).uniformMatrix4x3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
|
|
3467
|
+
},
|
|
3468
|
+
__wbg_unmap_adaf93276fdf9aaf: function(arg0) {
|
|
3469
|
+
getObject(arg0).unmap();
|
|
3470
|
+
},
|
|
3471
|
+
__wbg_useProgram_55a3e940abb19137: function(arg0, arg1) {
|
|
3472
|
+
getObject(arg0).useProgram(getObject(arg1));
|
|
3473
|
+
},
|
|
3474
|
+
__wbg_useProgram_e24dadf4c06636f5: function(arg0, arg1) {
|
|
3475
|
+
getObject(arg0).useProgram(getObject(arg1));
|
|
3476
|
+
},
|
|
3477
|
+
__wbg_userAgent_8def8135d886414b: function() { return handleError(function (arg0, arg1) {
|
|
3478
|
+
const ret = getObject(arg1).userAgent;
|
|
3479
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
3480
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3481
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3482
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3483
|
+
}, arguments); },
|
|
3484
|
+
__wbg_valueOf_41ae57308c1f031c: function(arg0) {
|
|
3485
|
+
const ret = getObject(arg0).valueOf();
|
|
3486
|
+
return ret;
|
|
3487
|
+
},
|
|
3488
|
+
__wbg_value_f3625092ee4b37f4: function(arg0) {
|
|
3489
|
+
const ret = getObject(arg0).value;
|
|
3490
|
+
return addHeapObject(ret);
|
|
3491
|
+
},
|
|
3492
|
+
__wbg_vertexAttrib4f_6444504b25f4d43e: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3493
|
+
getObject(arg0).vertexAttrib4f(arg1 >>> 0, arg2, arg3, arg4, arg5);
|
|
3494
|
+
},
|
|
3495
|
+
__wbg_vertexAttrib4f_aad41fe000407191: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3496
|
+
getObject(arg0).vertexAttrib4f(arg1 >>> 0, arg2, arg3, arg4, arg5);
|
|
3497
|
+
},
|
|
3498
|
+
__wbg_vertexAttribIPointer_ed1c3507e84527e2: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3499
|
+
getObject(arg0).vertexAttribIPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
|
|
3500
|
+
},
|
|
3501
|
+
__wbg_vertexAttribPointer_39eddea7c20e350c: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3502
|
+
getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
3503
|
+
},
|
|
3504
|
+
__wbg_vertexAttribPointer_3bc50c0431082f73: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3505
|
+
getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
3506
|
+
},
|
|
3507
|
+
__wbg_videoHeight_e267fd1e74bb1b06: function(arg0) {
|
|
3508
|
+
const ret = getObject(arg0).videoHeight;
|
|
3509
|
+
return ret;
|
|
3510
|
+
},
|
|
3511
|
+
__wbg_videoWidth_670b8e775ea04b5d: function(arg0) {
|
|
3512
|
+
const ret = getObject(arg0).videoWidth;
|
|
3513
|
+
return ret;
|
|
3514
|
+
},
|
|
3515
|
+
__wbg_viewport_14d947f2faf58e85: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3516
|
+
getObject(arg0).viewport(arg1, arg2, arg3, arg4);
|
|
3517
|
+
},
|
|
3518
|
+
__wbg_viewport_24055b0754803788: function(arg0, arg1, arg2, arg3, arg4) {
|
|
3519
|
+
getObject(arg0).viewport(arg1, arg2, arg3, arg4);
|
|
3520
|
+
},
|
|
3521
|
+
__wbg_warn_410c3261e3c6d686: function(arg0) {
|
|
3522
|
+
console.warn(getObject(arg0));
|
|
3523
|
+
},
|
|
3524
|
+
__wbg_width_f1791280fae1517a: function(arg0) {
|
|
3525
|
+
const ret = getObject(arg0).width;
|
|
3526
|
+
return ret;
|
|
3527
|
+
},
|
|
3528
|
+
__wbg_writeTexture_53ba204c494b042c: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3529
|
+
getObject(arg0).writeTexture(getObject(arg1), getArrayU8FromWasm0(arg2, arg3), getObject(arg4), getObject(arg5));
|
|
3530
|
+
}, arguments); },
|
|
3531
|
+
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
3532
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 796, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3533
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_12861);
|
|
3534
|
+
return addHeapObject(ret);
|
|
3535
|
+
},
|
|
3536
|
+
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
3537
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3538
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2917);
|
|
3539
|
+
return addHeapObject(ret);
|
|
3540
|
+
},
|
|
3541
|
+
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
3542
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUComputePipeline")], shim_idx: 677, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3543
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_9846);
|
|
3544
|
+
return addHeapObject(ret);
|
|
3545
|
+
},
|
|
3546
|
+
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
3547
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 677, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3548
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_9846_3);
|
|
3549
|
+
return addHeapObject(ret);
|
|
3550
|
+
},
|
|
3551
|
+
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
3552
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx: 678, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3553
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_9848);
|
|
3554
|
+
return addHeapObject(ret);
|
|
3555
|
+
},
|
|
3556
|
+
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
3557
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPURenderPipeline")], shim_idx: 677, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3558
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_9846_5);
|
|
3559
|
+
return addHeapObject(ret);
|
|
3560
|
+
},
|
|
3561
|
+
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
3562
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 677, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3563
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_9846_6);
|
|
3564
|
+
return addHeapObject(ret);
|
|
3565
|
+
},
|
|
3566
|
+
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
3567
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 677, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3568
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_9846_7);
|
|
3569
|
+
return addHeapObject(ret);
|
|
3570
|
+
},
|
|
3571
|
+
__wbindgen_cast_0000000000000009: function(arg0) {
|
|
3572
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
3573
|
+
const ret = arg0;
|
|
3574
|
+
return addHeapObject(ret);
|
|
3575
|
+
},
|
|
3576
|
+
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
3577
|
+
// Cast intrinsic for `Ref(Slice(F32)) -> NamedExternref("Float32Array")`.
|
|
3578
|
+
const ret = getArrayF32FromWasm0(arg0, arg1);
|
|
3579
|
+
return addHeapObject(ret);
|
|
3580
|
+
},
|
|
3581
|
+
__wbindgen_cast_000000000000000b: function(arg0, arg1) {
|
|
3582
|
+
// Cast intrinsic for `Ref(Slice(I16)) -> NamedExternref("Int16Array")`.
|
|
3583
|
+
const ret = getArrayI16FromWasm0(arg0, arg1);
|
|
3584
|
+
return addHeapObject(ret);
|
|
3585
|
+
},
|
|
3586
|
+
__wbindgen_cast_000000000000000c: function(arg0, arg1) {
|
|
3587
|
+
// Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`.
|
|
3588
|
+
const ret = getArrayI32FromWasm0(arg0, arg1);
|
|
3589
|
+
return addHeapObject(ret);
|
|
3590
|
+
},
|
|
3591
|
+
__wbindgen_cast_000000000000000d: function(arg0, arg1) {
|
|
3592
|
+
// Cast intrinsic for `Ref(Slice(I8)) -> NamedExternref("Int8Array")`.
|
|
3593
|
+
const ret = getArrayI8FromWasm0(arg0, arg1);
|
|
3594
|
+
return addHeapObject(ret);
|
|
3595
|
+
},
|
|
3596
|
+
__wbindgen_cast_000000000000000e: function(arg0, arg1) {
|
|
3597
|
+
// Cast intrinsic for `Ref(Slice(U16)) -> NamedExternref("Uint16Array")`.
|
|
3598
|
+
const ret = getArrayU16FromWasm0(arg0, arg1);
|
|
3599
|
+
return addHeapObject(ret);
|
|
3600
|
+
},
|
|
3601
|
+
__wbindgen_cast_000000000000000f: function(arg0, arg1) {
|
|
3602
|
+
// Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`.
|
|
3603
|
+
const ret = getArrayU32FromWasm0(arg0, arg1);
|
|
3604
|
+
return addHeapObject(ret);
|
|
3605
|
+
},
|
|
3606
|
+
__wbindgen_cast_0000000000000010: function(arg0, arg1) {
|
|
3607
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
3608
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
3609
|
+
return addHeapObject(ret);
|
|
3610
|
+
},
|
|
3611
|
+
__wbindgen_cast_0000000000000011: function(arg0, arg1) {
|
|
3612
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
3613
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
3614
|
+
return addHeapObject(ret);
|
|
3615
|
+
},
|
|
3616
|
+
__wbindgen_cast_0000000000000012: function(arg0) {
|
|
3617
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
3618
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
3619
|
+
return addHeapObject(ret);
|
|
3620
|
+
},
|
|
3621
|
+
__wbindgen_cast_0000000000000013: function(arg0, arg1) {
|
|
3622
|
+
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
3623
|
+
wasm.__wbindgen_export4(arg0, arg1 * 1, 1);
|
|
3624
|
+
// Cast intrinsic for `Vector(U8) -> Externref`.
|
|
3625
|
+
const ret = v0;
|
|
3626
|
+
return addHeapObject(ret);
|
|
3627
|
+
},
|
|
3628
|
+
__wbindgen_object_clone_ref: function(arg0) {
|
|
3629
|
+
const ret = getObject(arg0);
|
|
3630
|
+
return addHeapObject(ret);
|
|
3631
|
+
},
|
|
3632
|
+
__wbindgen_object_drop_ref: function(arg0) {
|
|
3633
|
+
takeObject(arg0);
|
|
3634
|
+
},
|
|
3635
|
+
};
|
|
3636
|
+
return {
|
|
3637
|
+
__proto__: null,
|
|
3638
|
+
"./hana_bg.js": import0,
|
|
3639
|
+
};
|
|
3640
|
+
}
|
|
3641
|
+
|
|
3642
|
+
function __wasm_bindgen_func_elem_2917(arg0, arg1, arg2) {
|
|
3643
|
+
wasm.__wasm_bindgen_func_elem_2917(arg0, arg1, addHeapObject(arg2));
|
|
3644
|
+
}
|
|
3645
|
+
|
|
3646
|
+
function __wasm_bindgen_func_elem_9848(arg0, arg1, arg2) {
|
|
3647
|
+
wasm.__wasm_bindgen_func_elem_9848(arg0, arg1, addHeapObject(arg2));
|
|
3648
|
+
}
|
|
3649
|
+
|
|
3650
|
+
function __wasm_bindgen_func_elem_12861(arg0, arg1, arg2) {
|
|
3651
|
+
try {
|
|
3652
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3653
|
+
wasm.__wasm_bindgen_func_elem_12861(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3654
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3655
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3656
|
+
if (r1) {
|
|
3657
|
+
throw takeObject(r0);
|
|
3658
|
+
}
|
|
3659
|
+
} finally {
|
|
3660
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3661
|
+
}
|
|
3662
|
+
}
|
|
3663
|
+
|
|
3664
|
+
function __wasm_bindgen_func_elem_9846(arg0, arg1, arg2) {
|
|
3665
|
+
try {
|
|
3666
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3667
|
+
wasm.__wasm_bindgen_func_elem_9846(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3668
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3669
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3670
|
+
if (r1) {
|
|
3671
|
+
throw takeObject(r0);
|
|
3672
|
+
}
|
|
3673
|
+
} finally {
|
|
3674
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3675
|
+
}
|
|
3676
|
+
}
|
|
3677
|
+
|
|
3678
|
+
function __wasm_bindgen_func_elem_9846_3(arg0, arg1, arg2) {
|
|
3679
|
+
try {
|
|
3680
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3681
|
+
wasm.__wasm_bindgen_func_elem_9846_3(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3682
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3683
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3684
|
+
if (r1) {
|
|
3685
|
+
throw takeObject(r0);
|
|
3686
|
+
}
|
|
3687
|
+
} finally {
|
|
3688
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3689
|
+
}
|
|
3690
|
+
}
|
|
3691
|
+
|
|
3692
|
+
function __wasm_bindgen_func_elem_9846_5(arg0, arg1, arg2) {
|
|
3693
|
+
try {
|
|
3694
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3695
|
+
wasm.__wasm_bindgen_func_elem_9846_5(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3696
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3697
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3698
|
+
if (r1) {
|
|
3699
|
+
throw takeObject(r0);
|
|
3700
|
+
}
|
|
3701
|
+
} finally {
|
|
3702
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3703
|
+
}
|
|
3704
|
+
}
|
|
3705
|
+
|
|
3706
|
+
function __wasm_bindgen_func_elem_9846_6(arg0, arg1, arg2) {
|
|
3707
|
+
try {
|
|
3708
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3709
|
+
wasm.__wasm_bindgen_func_elem_9846_6(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3710
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3711
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3712
|
+
if (r1) {
|
|
3713
|
+
throw takeObject(r0);
|
|
3714
|
+
}
|
|
3715
|
+
} finally {
|
|
3716
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3717
|
+
}
|
|
3718
|
+
}
|
|
3719
|
+
|
|
3720
|
+
function __wasm_bindgen_func_elem_9846_7(arg0, arg1, arg2) {
|
|
3721
|
+
try {
|
|
3722
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3723
|
+
wasm.__wasm_bindgen_func_elem_9846_7(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3724
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3725
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3726
|
+
if (r1) {
|
|
3727
|
+
throw takeObject(r0);
|
|
3728
|
+
}
|
|
3729
|
+
} finally {
|
|
3730
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3731
|
+
}
|
|
3732
|
+
}
|
|
3733
|
+
|
|
3734
|
+
function __wasm_bindgen_func_elem_12869(arg0, arg1, arg2, arg3) {
|
|
3735
|
+
wasm.__wasm_bindgen_func_elem_12869(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
3736
|
+
}
|
|
3737
|
+
|
|
3738
|
+
|
|
3739
|
+
const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
|
|
3740
|
+
|
|
3741
|
+
|
|
3742
|
+
const __wbindgen_enum_GpuAutoLayoutMode = ["auto"];
|
|
3743
|
+
|
|
3744
|
+
|
|
3745
|
+
const __wbindgen_enum_GpuBlendFactor = ["zero", "one", "src", "one-minus-src", "src-alpha", "one-minus-src-alpha", "dst", "one-minus-dst", "dst-alpha", "one-minus-dst-alpha", "src-alpha-saturated", "constant", "one-minus-constant", "src1", "one-minus-src1", "src1-alpha", "one-minus-src1-alpha"];
|
|
3746
|
+
|
|
3747
|
+
|
|
3748
|
+
const __wbindgen_enum_GpuBlendOperation = ["add", "subtract", "reverse-subtract", "min", "max"];
|
|
3749
|
+
|
|
3750
|
+
|
|
3751
|
+
const __wbindgen_enum_GpuBufferBindingType = ["uniform", "storage", "read-only-storage"];
|
|
3752
|
+
|
|
3753
|
+
|
|
3754
|
+
const __wbindgen_enum_GpuCanvasAlphaMode = ["opaque", "premultiplied"];
|
|
3755
|
+
|
|
3756
|
+
|
|
3757
|
+
const __wbindgen_enum_GpuCanvasToneMappingMode = ["standard", "extended"];
|
|
3758
|
+
|
|
3759
|
+
|
|
3760
|
+
const __wbindgen_enum_GpuCompareFunction = ["never", "less", "equal", "less-equal", "greater", "not-equal", "greater-equal", "always"];
|
|
3761
|
+
|
|
3762
|
+
|
|
3763
|
+
const __wbindgen_enum_GpuCullMode = ["none", "front", "back"];
|
|
3764
|
+
|
|
3765
|
+
|
|
3766
|
+
const __wbindgen_enum_GpuDeviceLostReason = ["unknown", "destroyed"];
|
|
3767
|
+
|
|
3768
|
+
|
|
3769
|
+
const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
|
|
3770
|
+
|
|
3771
|
+
|
|
3772
|
+
const __wbindgen_enum_GpuFilterMode = ["nearest", "linear"];
|
|
3773
|
+
|
|
3774
|
+
|
|
3775
|
+
const __wbindgen_enum_GpuFrontFace = ["ccw", "cw"];
|
|
3776
|
+
|
|
3777
|
+
|
|
3778
|
+
const __wbindgen_enum_GpuIndexFormat = ["uint16", "uint32"];
|
|
3779
|
+
|
|
3780
|
+
|
|
3781
|
+
const __wbindgen_enum_GpuLoadOp = ["load", "clear"];
|
|
3782
|
+
|
|
3783
|
+
|
|
3784
|
+
const __wbindgen_enum_GpuMipmapFilterMode = ["nearest", "linear"];
|
|
3785
|
+
|
|
3786
|
+
|
|
3787
|
+
const __wbindgen_enum_GpuPowerPreference = ["low-power", "high-performance"];
|
|
3788
|
+
|
|
3789
|
+
|
|
3790
|
+
const __wbindgen_enum_GpuPrimitiveTopology = ["point-list", "line-list", "line-strip", "triangle-list", "triangle-strip"];
|
|
3791
|
+
|
|
3792
|
+
|
|
3793
|
+
const __wbindgen_enum_GpuQueryType = ["occlusion", "timestamp"];
|
|
3794
|
+
|
|
3795
|
+
|
|
3796
|
+
const __wbindgen_enum_GpuSamplerBindingType = ["filtering", "non-filtering", "comparison"];
|
|
3797
|
+
|
|
3798
|
+
|
|
3799
|
+
const __wbindgen_enum_GpuStencilOperation = ["keep", "zero", "replace", "invert", "increment-clamp", "decrement-clamp", "increment-wrap", "decrement-wrap"];
|
|
3800
|
+
|
|
3801
|
+
|
|
3802
|
+
const __wbindgen_enum_GpuStorageTextureAccess = ["write-only", "read-only", "read-write"];
|
|
3803
|
+
|
|
3804
|
+
|
|
3805
|
+
const __wbindgen_enum_GpuStoreOp = ["store", "discard"];
|
|
3806
|
+
|
|
3807
|
+
|
|
3808
|
+
const __wbindgen_enum_GpuTextureAspect = ["all", "stencil-only", "depth-only"];
|
|
3809
|
+
|
|
3810
|
+
|
|
3811
|
+
const __wbindgen_enum_GpuTextureDimension = ["1d", "2d", "3d"];
|
|
3812
|
+
|
|
3813
|
+
|
|
3814
|
+
const __wbindgen_enum_GpuTextureFormat = ["r8unorm", "r8snorm", "r8uint", "r8sint", "r16unorm", "r16snorm", "r16uint", "r16sint", "r16float", "rg8unorm", "rg8snorm", "rg8uint", "rg8sint", "r32uint", "r32sint", "r32float", "rg16unorm", "rg16snorm", "rg16uint", "rg16sint", "rg16float", "rgba8unorm", "rgba8unorm-srgb", "rgba8snorm", "rgba8uint", "rgba8sint", "bgra8unorm", "bgra8unorm-srgb", "rgb9e5ufloat", "rgb10a2uint", "rgb10a2unorm", "rg11b10ufloat", "rg32uint", "rg32sint", "rg32float", "rgba16unorm", "rgba16snorm", "rgba16uint", "rgba16sint", "rgba16float", "rgba32uint", "rgba32sint", "rgba32float", "stencil8", "depth16unorm", "depth24plus", "depth24plus-stencil8", "depth32float", "depth32float-stencil8", "bc1-rgba-unorm", "bc1-rgba-unorm-srgb", "bc2-rgba-unorm", "bc2-rgba-unorm-srgb", "bc3-rgba-unorm", "bc3-rgba-unorm-srgb", "bc4-r-unorm", "bc4-r-snorm", "bc5-rg-unorm", "bc5-rg-snorm", "bc6h-rgb-ufloat", "bc6h-rgb-float", "bc7-rgba-unorm", "bc7-rgba-unorm-srgb", "etc2-rgb8unorm", "etc2-rgb8unorm-srgb", "etc2-rgb8a1unorm", "etc2-rgb8a1unorm-srgb", "etc2-rgba8unorm", "etc2-rgba8unorm-srgb", "eac-r11unorm", "eac-r11snorm", "eac-rg11unorm", "eac-rg11snorm", "astc-4x4-unorm", "astc-4x4-unorm-srgb", "astc-5x4-unorm", "astc-5x4-unorm-srgb", "astc-5x5-unorm", "astc-5x5-unorm-srgb", "astc-6x5-unorm", "astc-6x5-unorm-srgb", "astc-6x6-unorm", "astc-6x6-unorm-srgb", "astc-8x5-unorm", "astc-8x5-unorm-srgb", "astc-8x6-unorm", "astc-8x6-unorm-srgb", "astc-8x8-unorm", "astc-8x8-unorm-srgb", "astc-10x5-unorm", "astc-10x5-unorm-srgb", "astc-10x6-unorm", "astc-10x6-unorm-srgb", "astc-10x8-unorm", "astc-10x8-unorm-srgb", "astc-10x10-unorm", "astc-10x10-unorm-srgb", "astc-12x10-unorm", "astc-12x10-unorm-srgb", "astc-12x12-unorm", "astc-12x12-unorm-srgb"];
|
|
3815
|
+
|
|
3816
|
+
|
|
3817
|
+
const __wbindgen_enum_GpuTextureSampleType = ["float", "unfilterable-float", "depth", "sint", "uint"];
|
|
3818
|
+
|
|
3819
|
+
|
|
3820
|
+
const __wbindgen_enum_GpuTextureViewDimension = ["1d", "2d", "2d-array", "cube", "cube-array", "3d"];
|
|
3821
|
+
|
|
3822
|
+
|
|
3823
|
+
const __wbindgen_enum_GpuVertexFormat = ["uint8", "uint8x2", "uint8x4", "sint8", "sint8x2", "sint8x4", "unorm8", "unorm8x2", "unorm8x4", "snorm8", "snorm8x2", "snorm8x4", "uint16", "uint16x2", "uint16x4", "sint16", "sint16x2", "sint16x4", "unorm16", "unorm16x2", "unorm16x4", "snorm16", "snorm16x2", "snorm16x4", "float16", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4", "unorm10-10-10-2", "unorm8x4-bgra"];
|
|
3824
|
+
|
|
3825
|
+
|
|
3826
|
+
const __wbindgen_enum_GpuVertexStepMode = ["vertex", "instance"];
|
|
3827
|
+
|
|
3828
|
+
|
|
3829
|
+
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
3830
|
+
const DeviceLostPromiseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3831
|
+
? { register: () => {}, unregister: () => {} }
|
|
3832
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_devicelostpromise_free(ptr, 1));
|
|
3833
|
+
const EngineFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3834
|
+
? { register: () => {}, unregister: () => {} }
|
|
3835
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_engine_free(ptr, 1));
|
|
3836
|
+
const PixelReadPromiseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3837
|
+
? { register: () => {}, unregister: () => {} }
|
|
3838
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_pixelreadpromise_free(ptr, 1));
|
|
3839
|
+
const SceneControllerFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
3840
|
+
? { register: () => {}, unregister: () => {} }
|
|
3841
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_scenecontroller_free(ptr, 1));
|
|
3842
|
+
|
|
3843
|
+
function addHeapObject(obj) {
|
|
3844
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
3845
|
+
const idx = heap_next;
|
|
3846
|
+
heap_next = heap[idx];
|
|
3847
|
+
|
|
3848
|
+
heap[idx] = obj;
|
|
3849
|
+
return idx;
|
|
3850
|
+
}
|
|
3851
|
+
|
|
3852
|
+
function addBorrowedObject(obj) {
|
|
3853
|
+
if (stack_pointer == 1) throw new Error('out of js stack');
|
|
3854
|
+
heap[--stack_pointer] = obj;
|
|
3855
|
+
return stack_pointer;
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3858
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
3859
|
+
? { register: () => {}, unregister: () => {} }
|
|
3860
|
+
: new FinalizationRegistry(state => wasm.__wbindgen_export5(state.a, state.b));
|
|
3861
|
+
|
|
3862
|
+
function debugString(val) {
|
|
3863
|
+
// primitive types
|
|
3864
|
+
const type = typeof val;
|
|
3865
|
+
if (type == 'number' || type == 'boolean' || val == null) {
|
|
3866
|
+
return `${val}`;
|
|
3867
|
+
}
|
|
3868
|
+
if (type == 'string') {
|
|
3869
|
+
return `"${val}"`;
|
|
3870
|
+
}
|
|
3871
|
+
if (type == 'symbol') {
|
|
3872
|
+
const description = val.description;
|
|
3873
|
+
if (description == null) {
|
|
3874
|
+
return 'Symbol';
|
|
3875
|
+
} else {
|
|
3876
|
+
return `Symbol(${description})`;
|
|
3877
|
+
}
|
|
3878
|
+
}
|
|
3879
|
+
if (type == 'function') {
|
|
3880
|
+
const name = val.name;
|
|
3881
|
+
if (typeof name == 'string' && name.length > 0) {
|
|
3882
|
+
return `Function(${name})`;
|
|
3883
|
+
} else {
|
|
3884
|
+
return 'Function';
|
|
3885
|
+
}
|
|
3886
|
+
}
|
|
3887
|
+
// objects
|
|
3888
|
+
if (Array.isArray(val)) {
|
|
3889
|
+
const length = val.length;
|
|
3890
|
+
let debug = '[';
|
|
3891
|
+
if (length > 0) {
|
|
3892
|
+
debug += debugString(val[0]);
|
|
3893
|
+
}
|
|
3894
|
+
for(let i = 1; i < length; i++) {
|
|
3895
|
+
debug += ', ' + debugString(val[i]);
|
|
3896
|
+
}
|
|
3897
|
+
debug += ']';
|
|
3898
|
+
return debug;
|
|
3899
|
+
}
|
|
3900
|
+
// Test for built-in
|
|
3901
|
+
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
|
3902
|
+
let className;
|
|
3903
|
+
if (builtInMatches && builtInMatches.length > 1) {
|
|
3904
|
+
className = builtInMatches[1];
|
|
3905
|
+
} else {
|
|
3906
|
+
// Failed to match the standard '[object ClassName]'
|
|
3907
|
+
return toString.call(val);
|
|
3908
|
+
}
|
|
3909
|
+
if (className == 'Object') {
|
|
3910
|
+
// we're a user defined class or Object
|
|
3911
|
+
// JSON.stringify avoids problems with cycles, and is generally much
|
|
3912
|
+
// easier than looping through ownProperties of `val`.
|
|
3913
|
+
try {
|
|
3914
|
+
return 'Object(' + JSON.stringify(val) + ')';
|
|
3915
|
+
} catch (_) {
|
|
3916
|
+
return 'Object';
|
|
3917
|
+
}
|
|
3918
|
+
}
|
|
3919
|
+
// errors
|
|
3920
|
+
if (val instanceof Error) {
|
|
3921
|
+
return `${val.name}: ${val.message}\n${val.stack}`;
|
|
3922
|
+
}
|
|
3923
|
+
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
3924
|
+
return className;
|
|
3925
|
+
}
|
|
3926
|
+
|
|
3927
|
+
function dropObject(idx) {
|
|
3928
|
+
if (idx < 1028) return;
|
|
3929
|
+
heap[idx] = heap_next;
|
|
3930
|
+
heap_next = idx;
|
|
3931
|
+
}
|
|
3932
|
+
|
|
3933
|
+
function getArrayF32FromWasm0(ptr, len) {
|
|
3934
|
+
ptr = ptr >>> 0;
|
|
3935
|
+
return getFloat32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
3936
|
+
}
|
|
3937
|
+
|
|
3938
|
+
function getArrayF64FromWasm0(ptr, len) {
|
|
3939
|
+
ptr = ptr >>> 0;
|
|
3940
|
+
return getFloat64ArrayMemory0().subarray(ptr / 8, ptr / 8 + len);
|
|
3941
|
+
}
|
|
3942
|
+
|
|
3943
|
+
function getArrayI16FromWasm0(ptr, len) {
|
|
3944
|
+
ptr = ptr >>> 0;
|
|
3945
|
+
return getInt16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
|
|
3946
|
+
}
|
|
3947
|
+
|
|
3948
|
+
function getArrayI32FromWasm0(ptr, len) {
|
|
3949
|
+
ptr = ptr >>> 0;
|
|
3950
|
+
return getInt32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
3951
|
+
}
|
|
3952
|
+
|
|
3953
|
+
function getArrayI8FromWasm0(ptr, len) {
|
|
3954
|
+
ptr = ptr >>> 0;
|
|
3955
|
+
return getInt8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
3956
|
+
}
|
|
3957
|
+
|
|
3958
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
3959
|
+
ptr = ptr >>> 0;
|
|
3960
|
+
const mem = getDataViewMemory0();
|
|
3961
|
+
const result = [];
|
|
3962
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
3963
|
+
result.push(takeObject(mem.getUint32(i, true)));
|
|
3964
|
+
}
|
|
3965
|
+
return result;
|
|
3966
|
+
}
|
|
3967
|
+
|
|
3968
|
+
function getArrayJsValueViewFromWasm0(ptr, len) {
|
|
3969
|
+
ptr = ptr >>> 0;
|
|
3970
|
+
const mem = getDataViewMemory0();
|
|
3971
|
+
const result = [];
|
|
3972
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
3973
|
+
result.push(getObject(mem.getUint32(i, true)));
|
|
3974
|
+
}
|
|
3975
|
+
return result;
|
|
3976
|
+
}
|
|
3977
|
+
|
|
3978
|
+
function getArrayU16FromWasm0(ptr, len) {
|
|
3979
|
+
ptr = ptr >>> 0;
|
|
3980
|
+
return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len);
|
|
3981
|
+
}
|
|
3982
|
+
|
|
3983
|
+
function getArrayU32FromWasm0(ptr, len) {
|
|
3984
|
+
ptr = ptr >>> 0;
|
|
3985
|
+
return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
3986
|
+
}
|
|
3987
|
+
|
|
3988
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
3989
|
+
ptr = ptr >>> 0;
|
|
3990
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
3991
|
+
}
|
|
3992
|
+
|
|
3993
|
+
let cachedDataViewMemory0 = null;
|
|
3994
|
+
function getDataViewMemory0() {
|
|
3995
|
+
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
3996
|
+
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
3997
|
+
}
|
|
3998
|
+
return cachedDataViewMemory0;
|
|
3999
|
+
}
|
|
4000
|
+
|
|
4001
|
+
let cachedFloat32ArrayMemory0 = null;
|
|
4002
|
+
function getFloat32ArrayMemory0() {
|
|
4003
|
+
if (cachedFloat32ArrayMemory0 === null || cachedFloat32ArrayMemory0.byteLength === 0) {
|
|
4004
|
+
cachedFloat32ArrayMemory0 = new Float32Array(wasm.memory.buffer);
|
|
4005
|
+
}
|
|
4006
|
+
return cachedFloat32ArrayMemory0;
|
|
4007
|
+
}
|
|
4008
|
+
|
|
4009
|
+
let cachedFloat64ArrayMemory0 = null;
|
|
4010
|
+
function getFloat64ArrayMemory0() {
|
|
4011
|
+
if (cachedFloat64ArrayMemory0 === null || cachedFloat64ArrayMemory0.byteLength === 0) {
|
|
4012
|
+
cachedFloat64ArrayMemory0 = new Float64Array(wasm.memory.buffer);
|
|
4013
|
+
}
|
|
4014
|
+
return cachedFloat64ArrayMemory0;
|
|
4015
|
+
}
|
|
4016
|
+
|
|
4017
|
+
let cachedInt16ArrayMemory0 = null;
|
|
4018
|
+
function getInt16ArrayMemory0() {
|
|
4019
|
+
if (cachedInt16ArrayMemory0 === null || cachedInt16ArrayMemory0.byteLength === 0) {
|
|
4020
|
+
cachedInt16ArrayMemory0 = new Int16Array(wasm.memory.buffer);
|
|
4021
|
+
}
|
|
4022
|
+
return cachedInt16ArrayMemory0;
|
|
4023
|
+
}
|
|
4024
|
+
|
|
4025
|
+
let cachedInt32ArrayMemory0 = null;
|
|
4026
|
+
function getInt32ArrayMemory0() {
|
|
4027
|
+
if (cachedInt32ArrayMemory0 === null || cachedInt32ArrayMemory0.byteLength === 0) {
|
|
4028
|
+
cachedInt32ArrayMemory0 = new Int32Array(wasm.memory.buffer);
|
|
4029
|
+
}
|
|
4030
|
+
return cachedInt32ArrayMemory0;
|
|
4031
|
+
}
|
|
4032
|
+
|
|
4033
|
+
let cachedInt8ArrayMemory0 = null;
|
|
4034
|
+
function getInt8ArrayMemory0() {
|
|
4035
|
+
if (cachedInt8ArrayMemory0 === null || cachedInt8ArrayMemory0.byteLength === 0) {
|
|
4036
|
+
cachedInt8ArrayMemory0 = new Int8Array(wasm.memory.buffer);
|
|
4037
|
+
}
|
|
4038
|
+
return cachedInt8ArrayMemory0;
|
|
4039
|
+
}
|
|
4040
|
+
|
|
4041
|
+
function getStringFromWasm0(ptr, len) {
|
|
4042
|
+
return decodeText(ptr >>> 0, len);
|
|
4043
|
+
}
|
|
4044
|
+
|
|
4045
|
+
let cachedUint16ArrayMemory0 = null;
|
|
4046
|
+
function getUint16ArrayMemory0() {
|
|
4047
|
+
if (cachedUint16ArrayMemory0 === null || cachedUint16ArrayMemory0.byteLength === 0) {
|
|
4048
|
+
cachedUint16ArrayMemory0 = new Uint16Array(wasm.memory.buffer);
|
|
4049
|
+
}
|
|
4050
|
+
return cachedUint16ArrayMemory0;
|
|
4051
|
+
}
|
|
4052
|
+
|
|
4053
|
+
let cachedUint32ArrayMemory0 = null;
|
|
4054
|
+
function getUint32ArrayMemory0() {
|
|
4055
|
+
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
4056
|
+
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
4057
|
+
}
|
|
4058
|
+
return cachedUint32ArrayMemory0;
|
|
4059
|
+
}
|
|
4060
|
+
|
|
4061
|
+
let cachedUint8ArrayMemory0 = null;
|
|
4062
|
+
function getUint8ArrayMemory0() {
|
|
4063
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
4064
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
4065
|
+
}
|
|
4066
|
+
return cachedUint8ArrayMemory0;
|
|
4067
|
+
}
|
|
4068
|
+
|
|
4069
|
+
function getObject(idx) { return heap[idx]; }
|
|
4070
|
+
|
|
4071
|
+
function handleError(f, args) {
|
|
4072
|
+
try {
|
|
4073
|
+
return f.apply(this, args);
|
|
4074
|
+
} catch (e) {
|
|
4075
|
+
wasm.__wbindgen_export3(addHeapObject(e));
|
|
4076
|
+
}
|
|
4077
|
+
}
|
|
4078
|
+
|
|
4079
|
+
let heap = new Array(1024).fill(undefined);
|
|
4080
|
+
heap.push(undefined, null, true, false);
|
|
4081
|
+
|
|
4082
|
+
let heap_next = heap.length;
|
|
4083
|
+
|
|
4084
|
+
function isLikeNone(x) {
|
|
4085
|
+
return x === undefined || x === null;
|
|
4086
|
+
}
|
|
4087
|
+
|
|
4088
|
+
function makeMutClosure(arg0, arg1, f) {
|
|
4089
|
+
const state = { a: arg0, b: arg1, cnt: 1 };
|
|
4090
|
+
const real = (...args) => {
|
|
4091
|
+
|
|
4092
|
+
// First up with a closure we increment the internal reference
|
|
4093
|
+
// count. This ensures that the Rust closure environment won't
|
|
4094
|
+
// be deallocated while we're invoking it.
|
|
4095
|
+
state.cnt++;
|
|
4096
|
+
const a = state.a;
|
|
4097
|
+
state.a = 0;
|
|
4098
|
+
try {
|
|
4099
|
+
return f(a, state.b, ...args);
|
|
4100
|
+
} finally {
|
|
4101
|
+
state.a = a;
|
|
4102
|
+
real._wbg_cb_unref();
|
|
4103
|
+
}
|
|
4104
|
+
};
|
|
4105
|
+
real._wbg_cb_unref = () => {
|
|
4106
|
+
if (--state.cnt === 0) {
|
|
4107
|
+
wasm.__wbindgen_export5(state.a, state.b);
|
|
4108
|
+
state.a = 0;
|
|
4109
|
+
CLOSURE_DTORS.unregister(state);
|
|
4110
|
+
}
|
|
4111
|
+
};
|
|
4112
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
4113
|
+
return real;
|
|
4114
|
+
}
|
|
4115
|
+
|
|
4116
|
+
function passArrayJsValueToWasm0(array, malloc) {
|
|
4117
|
+
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
4118
|
+
const mem = getDataViewMemory0();
|
|
4119
|
+
for (let i = 0; i < array.length; i++) {
|
|
4120
|
+
mem.setUint32(ptr + 4 * i, addHeapObject(array[i]), true);
|
|
4121
|
+
}
|
|
4122
|
+
WASM_VECTOR_LEN = array.length;
|
|
4123
|
+
return ptr;
|
|
4124
|
+
}
|
|
4125
|
+
|
|
4126
|
+
function passStringToWasm0(arg, malloc, realloc) {
|
|
4127
|
+
if (realloc === undefined) {
|
|
4128
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
4129
|
+
const ptr = malloc(buf.length, 1) >>> 0;
|
|
4130
|
+
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
4131
|
+
WASM_VECTOR_LEN = buf.length;
|
|
4132
|
+
return ptr;
|
|
4133
|
+
}
|
|
4134
|
+
|
|
4135
|
+
let len = arg.length;
|
|
4136
|
+
let ptr = malloc(len, 1) >>> 0;
|
|
4137
|
+
|
|
4138
|
+
const mem = getUint8ArrayMemory0();
|
|
4139
|
+
|
|
4140
|
+
let offset = 0;
|
|
4141
|
+
|
|
4142
|
+
for (; offset < len; offset++) {
|
|
4143
|
+
const code = arg.charCodeAt(offset);
|
|
4144
|
+
if (code > 0x7F) break;
|
|
4145
|
+
mem[ptr + offset] = code;
|
|
4146
|
+
}
|
|
4147
|
+
if (offset !== len) {
|
|
4148
|
+
if (offset !== 0) {
|
|
4149
|
+
arg = arg.slice(offset);
|
|
4150
|
+
}
|
|
4151
|
+
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
4152
|
+
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
4153
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
4154
|
+
|
|
4155
|
+
offset += ret.written;
|
|
4156
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
4157
|
+
}
|
|
4158
|
+
|
|
4159
|
+
WASM_VECTOR_LEN = offset;
|
|
4160
|
+
return ptr;
|
|
4161
|
+
}
|
|
4162
|
+
|
|
4163
|
+
let stack_pointer = 1024;
|
|
4164
|
+
|
|
4165
|
+
function takeObject(idx) {
|
|
4166
|
+
const ret = getObject(idx);
|
|
4167
|
+
dropObject(idx);
|
|
4168
|
+
return ret;
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4171
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
4172
|
+
cachedTextDecoder.decode();
|
|
4173
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
4174
|
+
let numBytesDecoded = 0;
|
|
4175
|
+
function decodeText(ptr, len) {
|
|
4176
|
+
numBytesDecoded += len;
|
|
4177
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
4178
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
4179
|
+
cachedTextDecoder.decode();
|
|
4180
|
+
numBytesDecoded = len;
|
|
4181
|
+
}
|
|
4182
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
4183
|
+
}
|
|
4184
|
+
|
|
4185
|
+
const cachedTextEncoder = new TextEncoder();
|
|
4186
|
+
|
|
4187
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
4188
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
4189
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
4190
|
+
view.set(buf);
|
|
4191
|
+
return {
|
|
4192
|
+
read: arg.length,
|
|
4193
|
+
written: buf.length
|
|
4194
|
+
};
|
|
4195
|
+
};
|
|
4196
|
+
}
|
|
4197
|
+
|
|
4198
|
+
let WASM_VECTOR_LEN = 0;
|
|
4199
|
+
|
|
4200
|
+
let wasmModule, wasmInstance, wasm;
|
|
4201
|
+
function __wbg_finalize_init(instance, module) {
|
|
4202
|
+
wasmInstance = instance;
|
|
4203
|
+
wasm = instance.exports;
|
|
4204
|
+
wasmModule = module;
|
|
4205
|
+
cachedDataViewMemory0 = null;
|
|
4206
|
+
cachedFloat32ArrayMemory0 = null;
|
|
4207
|
+
cachedFloat64ArrayMemory0 = null;
|
|
4208
|
+
cachedInt16ArrayMemory0 = null;
|
|
4209
|
+
cachedInt32ArrayMemory0 = null;
|
|
4210
|
+
cachedInt8ArrayMemory0 = null;
|
|
4211
|
+
cachedUint16ArrayMemory0 = null;
|
|
4212
|
+
cachedUint32ArrayMemory0 = null;
|
|
4213
|
+
cachedUint8ArrayMemory0 = null;
|
|
4214
|
+
wasm.__wbindgen_start();
|
|
4215
|
+
return wasm;
|
|
4216
|
+
}
|
|
4217
|
+
|
|
4218
|
+
async function __wbg_load(module, imports) {
|
|
4219
|
+
if (typeof Response === 'function' && module instanceof Response) {
|
|
4220
|
+
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
4221
|
+
try {
|
|
4222
|
+
return await WebAssembly.instantiateStreaming(module, imports);
|
|
4223
|
+
} catch (e) {
|
|
4224
|
+
const validResponse = module.ok && expectedResponseType(module.type);
|
|
4225
|
+
|
|
4226
|
+
if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
|
|
4227
|
+
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
|
|
4228
|
+
|
|
4229
|
+
} else { throw e; }
|
|
4230
|
+
}
|
|
4231
|
+
}
|
|
4232
|
+
|
|
4233
|
+
const bytes = await module.arrayBuffer();
|
|
4234
|
+
return await WebAssembly.instantiate(bytes, imports);
|
|
4235
|
+
} else {
|
|
4236
|
+
const instance = await WebAssembly.instantiate(module, imports);
|
|
4237
|
+
|
|
4238
|
+
if (instance instanceof WebAssembly.Instance) {
|
|
4239
|
+
return { instance, module };
|
|
4240
|
+
} else {
|
|
4241
|
+
return instance;
|
|
4242
|
+
}
|
|
4243
|
+
}
|
|
4244
|
+
|
|
4245
|
+
function expectedResponseType(type) {
|
|
4246
|
+
switch (type) {
|
|
4247
|
+
case 'basic': case 'cors': case 'default': return true;
|
|
4248
|
+
}
|
|
4249
|
+
return false;
|
|
4250
|
+
}
|
|
4251
|
+
}
|
|
4252
|
+
|
|
4253
|
+
function initSync(module) {
|
|
4254
|
+
if (wasm !== undefined) return wasm;
|
|
4255
|
+
|
|
4256
|
+
|
|
4257
|
+
if (module !== undefined) {
|
|
4258
|
+
if (Object.getPrototypeOf(module) === Object.prototype) {
|
|
4259
|
+
({module} = module)
|
|
4260
|
+
} else {
|
|
4261
|
+
console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
|
|
4262
|
+
}
|
|
4263
|
+
}
|
|
4264
|
+
|
|
4265
|
+
const imports = __wbg_get_imports();
|
|
4266
|
+
if (!(module instanceof WebAssembly.Module)) {
|
|
4267
|
+
module = new WebAssembly.Module(module);
|
|
4268
|
+
}
|
|
4269
|
+
const instance = new WebAssembly.Instance(module, imports);
|
|
4270
|
+
return __wbg_finalize_init(instance, module);
|
|
4271
|
+
}
|
|
4272
|
+
|
|
4273
|
+
async function __wbg_init(module_or_path) {
|
|
4274
|
+
if (wasm !== undefined) return wasm;
|
|
4275
|
+
|
|
4276
|
+
|
|
4277
|
+
if (module_or_path !== undefined) {
|
|
4278
|
+
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
|
|
4279
|
+
({module_or_path} = module_or_path)
|
|
4280
|
+
} else {
|
|
4281
|
+
console.warn('using deprecated parameters for the initialization function; pass a single object instead')
|
|
4282
|
+
}
|
|
4283
|
+
}
|
|
4284
|
+
|
|
4285
|
+
if (module_or_path === undefined) {
|
|
4286
|
+
module_or_path = new URL(/* @vite-ignore */ 'hana-ui.wasm', import.meta.url);
|
|
4287
|
+
}
|
|
4288
|
+
const imports = __wbg_get_imports();
|
|
4289
|
+
|
|
4290
|
+
if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
|
|
4291
|
+
module_or_path = fetch(module_or_path);
|
|
4292
|
+
}
|
|
4293
|
+
|
|
4294
|
+
const { instance, module } = await __wbg_load(await module_or_path, imports);
|
|
4295
|
+
|
|
4296
|
+
return __wbg_finalize_init(instance, module);
|
|
4297
|
+
}
|
|
4298
|
+
|
|
4299
|
+
export { initSync, __wbg_init as default };
|