Files
scriptc/tests/library-mode/wasm/three.json
Chris Tate a07998f667 Expand static three.js workflows and host integration (#621)
* Expand static three.js workflows and host integration

* Preserve JavaScript class state in static three.js workflows

* Preserve inferred JavaScript behavior across static workflows

* Preserve inferred callables and native compatibility boundaries

* Retain annotated JavaScript factory exports and bootstrap-safe call spreads

* Preserve Buffer and child callback identities in static packages

* Clarify JavaScript symbol spread support
2026-10-02 19:56:34 -05:00

67 lines
1.1 KiB
JSON

{
"profile_format": 1,
"name": "three-wasm-embedding",
"entry": "three.mjs",
"emission": "llvm",
"npm_static": [
"three"
],
"abi": {
"prefix": "app_",
"init_symbol": "app_init",
"sink_register_symbol": "app_sink",
"callback_register_symbol": "app_callback",
"collect_symbol": "app_collect",
"result_reset_symbol": "app_reset_results"
},
"callbacks": [
{
"name": "vertex",
"params": [
"u32",
"f64",
"f64",
"f64"
],
"returns": "void"
},
{
"name": "surface",
"params": [
"f64",
"f64",
"f64",
"f64",
"f64"
],
"returns": "void"
},
{
"name": "resource",
"params": [
"u32",
"f64",
"f64"
],
"returns": "void"
}
],
"exports": [
{
"export": "frame",
"symbol": "app_frame",
"params": [
"f64",
"f64"
],
"returns": "f64"
},
{
"export": "dispose",
"symbol": "app_dispose",
"params": [],
"returns": "f64"
}
]
}