nx_nxa_view_emit.nx
buildroot/runtime/nx_nxa_view_emit.nx
about
nx_nxa_view_emit.nx -- SOVEREIGN NXA browser-viewer emitter: reads a .nxa (our animated 3D
format, knowledge/nxa_format_spec.md), VALIDATES it (refuse corrupt/future at emit time --
the same nxa_find the native reader uses), and emits a self-contained WebGL2 page whose JS
re-verifies the checksums IN THE BROWSER before building GPU buffers. The page is the proof
the format is interoperable end-to-end: FBX -> NXA -> any browser, no third-party code.
usage: nx_nxa_view_emit <in.nxa> <out.html> <title>
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_base64.nxnx_nxa.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 12 | const NVE_OUT_CAP: i64 = 8388608 |
functions
| 14 | func nve_ap(out: *u8, pos: i64, s: *u8) -> i64 called by 1: main |
| 20 | func nve_ap_n(out: *u8, pos: i64, s: *u8, n: i64) -> i64 called by 1: main |
| 26 | func nve_w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 27 | func nve_num(v: i64) -> i64 |
| 39 | func main(argc: i64, argv: *i64) -> i64 |