nx_nxa_bind.nx
buildroot/runtime/nx_nxa_bind.nx
about
Rebind an existing NXA geometry stream from its matching binary FBX BindPose.
Other supported sections remain byte-identical. Original inputs are never opened for writing.
usage: nx_nxa_bind <source.fbx> <original.nxa> <candidate.nxa>
license_tier: ORIGINAL
dependencies 5 imports · 14 importers
diagram shows first 10 each side; +0 more imports, +4 more importers in the complete lists below.
imports: nx_fbx_import.nxnx_fbx_bind.nxnx_nxa_write_lib.nxnx_nxa_posewrite_lib.nxnx_readcap_lib.nx
imported by: nx_affine_q30_api_gate_t34.nxnx_cast_affine_emit_gate_t38.nxnx_fbx_affine_t32.nxnx_game_affine_emit_gate_t38.nxnx_game_affine_emit_gate_t39.nxnx_imported_body_craft_gate_t137.nxnx_imported_body_craft_gate_t262.nxnx_imported_body_craft_gate_t43.nxnx_imported_body_page_gate_t45.nxnx_imported_body_page_gate_t49.nxnx_imported_body_registry_gate_t40.nxnx_imported_body_registry_gate_t43.nxnx_nxa_fullskin_affine_gate_t37.nxnx_private_binary_transport_t43.nx
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| 83 | struct NxaBindReport |
consts
| 11 | const NB_MILLI: i64 = 1000 |
| 12 | const NB_BAD_SOURCE: i64 = 0-20 |
| 13 | const NB_UNSUPPORTED: i64 = 0-21 |
| 14 | const NB_OUTPUT_EXISTS: i64 = 0-22 |
| 82 | const NB_BUDGET: i64 = 0-23 |
| 152 | const NB_POLYGON_OWNER_CAP: i64 = 512 |
functions
| 16 | func nb_text(s: *u8) -> i64 |
| 21 | func nb_num(v: i64) -> i64 |
| 35 | func nb_supported(tag: i64) -> i64 called by 1: nb_convert_bytes |
| 42 | func nb_scale(v: *i64,count: i64,milli: i64) -> i64 called by 1: nb_convert_bytes |
| 56 | func nb_save_new(path: *u8,b: *u8,n: i64) -> i64 called by 9: mainmainmainmainmainnb_convert+3 calls 5: rc_fill_filerc_completenb_textnpw_putrc_read_file_into |
| 93 | func nb_preflight(b: *u8,n: i64,array_budget: i64,depth_budget: i64,r: *NxaBindReport) -> i64 called by 2: af_loadnb_convert_bytes calls 6: fbxc_versionfbxc_bigfbb_nodefbxc_name_isfbb_property_sizefbxc_u32 |
| 153 | func nb_geometry_contract(b: *u8,n: i64,nv: i64,nt: i64) -> i64 called by 1: nb_convert_bytes calls 8: fbxc_bigfbxc_versionfbb_find_childfbb_nodefbxc_name_isfbxc_u32+2 |
| 211 | func nb_range(p: i64,n: i64) -> i64 called by 1: nb_convert_bytes |
| 215 | func nb_overlap(a: i64,an: i64,b: i64,bn: i64) -> i64 called by 1: nb_convert_bytes |
| 219 | func nb_convert_bytes(fbx: *u8,fn: i64,b: *u8,n: i64,candidate: *u8,cap: i64,array_budget: i64,depth_budget: i64,r: *NxaBindReport) -> i64 called by 2: nb_convertnb_bounded_cli calls 17: nb_rangenb_overlapnb_preflightnb_supportednb_textnb_num+11 |
| 330 | func nb_convert(fbxpath: *u8,nxapath: *u8,outpath: *u8) -> i64 |
| 344 | func nb_budget_arg(s: *u8) -> i64 called by 1: nb_bounded_cli |
| 351 | func nb_report(result: i64,r: *NxaBindReport) -> i64 |
| 360 | func nb_bounded_cli(argc: i64,argv: *i64) -> i64 |
| 382 | func main(argc: i64,argv: *i64) -> i64 |