code wiki / (root) / nx_texr_descriptor_t279.nx

nx_texr_descriptor_t279.nx

buildroot/runtime/nx_texr_descriptor_t279.nx

6853 B134 linesdepth 8pulls 26 transitivereach 0 importersview sourcekind tooltopic texr
docsdependenciesstructsconstsfunctions

about

nx_nxa_texbake_region.nx -- CLI for the PER-REGION skin atlas + periodic micro-relief tile (TEXR): nx_nxa_texbake_region measure <in.nxa> [res] the honest per-tile ruler, bakes nothing nx_nxa_texbake_region bake <in.nxa> <out.nxa> [res] [seed] [hue] TEXR written additively (TEXM untouched) res 0 or absent = the resolution the asset's own TEXM was baked at. Core in nx_nxa_texbake_region_lib.nx (the gate imports the same implementation). Fail-closed, named reasons. EXITS: 0 OK | 2 usage | 3 bad container | 4 missing section | 5 mismatch | 6 ledger missing | 1 I/O license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_nxa_texbake_region_lib.nx nx_sha256.nx nx_texr_descriptor_t279.nx

imports: nx_syscalls.nxnx_nxa_texbake_region_lib.nxnx_sha256.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 nr_is nr_inspect sys_mmap_try nt_outs sys_write ↻ nt_slen ↻ sys_map_file sys_openat_rd sys_lseek sys_close sys_munmap_direct ntr_texr_find ntr_texr_validate nxa_section_entry nxa_magic nxa_check2 nxa_tag4 nt_outn sys_write ↻ 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 ↻ sha256_digest_checked_nati

structs

none

consts

11const NR_E_USAGE: i64 = 2
12const NR_DEFAULT_SEED: i64 = 1

functions

14func nr_atoi(s: *u8) -> i64
called by 1: main
27func nr_is(s: *u8, t: *u8) -> i64
called by 1: main
33func nr_inspect(inp:*u8)->i64
99func main(argc: i64, argv: *i64) -> i64