nx_char_asset.nx
buildroot/runtime/nx_char_asset.nx
about
nx_char_asset.nx -- the CONSENT-GATED, LAYERED character pipeline (operator: "license a nude model, add layers
of armor/clothing/makeup, deliver into art-coaching / games"). A character = a licensed nude BASE (variant +
figure) + a LAYER STACK (nx_outfit clothing/armor, makeup, ...). The DELIVERED nudity tier is set by the layers:
a fully-covering outfit delivers CLOTHED (any licensed model), a bare base delivers ARTISTIC-nude (needs the
life-drawing license), explicit delivers EXPLICIT. Delivering as a game asset meshes the SDF (nx_meshgen) and
writes glTF (nx_gltf_export). Every delivery is GATED by nx_consent (tier + use-case), FAIL-CLOSED. This is the
wire-in that turns the consent primitive into real pipeline ENFORCEMENT. license_tier: ORIGINAL
dependencies 9 imports · 3 importers
imports: nx_syscalls.nxnx_sdfrender.nxnx_assetvariant.nxnx_body_figure.nxnx_outfit.nxnx_consent.nxnx_meshgen.nxnx_gltf_export.nxnx_nxa_texbake_lib.nx
imported by: nx_char_asset_gate.nxnx_gltf_skin_material_gate_t340.nxnx_person_mesh_oriented_t343.nx
structs
| none |
consts
| none |
functions
| 19 | func char_build(base: i64, sp: i64, hv: i64, ev: i64, tv: i64, build: i64, figure: i64, outfit: i64) -> i64 |
| 27 | func char_delivery_tier(outfit: i64, explicit: i64) -> i64 |
| 34 | func char_export_gltf_gated(base: i64, F: *i64, cubevi: *i64, vbuf: *i64, fbuf: *i64, out: *i64, |
| 42 | func char_deliver_ok(consent: *i64, now: i64, outfit: i64, explicit: i64, uses: i64) -> i64 |
| 46 | func char_write_glb_skin_recipe(vbuf:*i64,fbuf:*i64,nv:i64,nf:i64,hue:i64,region:i64,path:*u8)->i64 |
| 59 | func char_export_existing_mesh_recipe_gated(vbuf:*i64,fbuf:*i64,nv:i64,nf:i64,consent:*i64,now:i64,outfit:i64,explicit:i64,uses:i64,hue:i64,region:i64,path:*u8)->i64 |