code wiki / (root) / nx_nxa_texbake.nx

nx_nxa_texbake.nx

buildroot/runtime/nx_nxa_texbake.nx

2566 B63 linesdepth 6pulls 15 transitivereach 0 importersview sourcekind tooltopic nxa
docsdependenciesstructsconstsfunctions

about

nx_nxa_texbake.nx -- CLI for the texture ladder (debt 1786546859): nx_nxa_texbake bake <in.nxa> <out.png> [res=2048] [seed=1] albedo atlas from TEXC+SKEL regions nx_nxa_texbake view <in.nxa> <out.png> [res=1024] [seed=1] textured 3-view turntable render Core in nx_nxa_texbake_lib.nx (the gate imports the same implementation). Fail-closed, named reasons. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_nxa_texbake_lib.nx nx_nxa_texbake.nx

imports: nx_syscalls.nxnx_nxa_texbake_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nt_err sys_write nt_slen sys_exit na_atoi sys_mmap nxa_die sys_write ↻ sys_exit ↻ nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close ntb_bake ntb_bake_gene nxa_find nxa_section_entry nxa_magic nxa_check2 nxa_tag4 nt_err ↻ sys_mmap ↻ ntb_regions nxa_find ↻ nxa_tag4 ↻

structs

none

consts

8const K_MAGIC_2048: i64 = 2048
9const K_MAGIC_1024: i64 = 1024

functions

11func na_atoi(s: *u8) -> i64
called by 1: main
22func main(argc: i64, argv: *i64) -> i64