code wiki / (root) / nx_char_asset_material_candidate_t340.nx

nx_char_asset_material_candidate_t340.nx

buildroot/runtime/nx_char_asset_material_candidate_t340.nx

4232 B64 linesdepth 6pulls 25 transitivereach 1 importersview sourcekind librarytopic char
docsdependenciesstructsconstsfunctions

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 · 1 importers

nx_syscalls.nx nx_sdfrender.nx nx_assetvariant.nx nx_body_figure.nx nx_outfit.nx nx_consent.nx nx_meshgen.nx nx_gltf_export_material_candidate_ nx_nxa_texbake_lib.nx nx_char_asset_material_candida nx_person_mesh_candidate_t343.nx

imports: nx_syscalls.nxnx_sdfrender.nxnx_assetvariant.nxnx_body_figure.nxnx_outfit.nxnx_consent.nxnx_meshgen.nxnx_gltf_export_material_candidate_t340.nxnx_nxa_texbake_lib.nx

imported by: nx_person_mesh_candidate_t343.nx

structs

none

consts

none

functions

19func char_build(base: i64, sp: i64, hv: i64, ev: i64, tv: i64, build: i64, figure: i64, outfit: i64) -> i64
27func char_delivery_tier(outfit: i64, explicit: i64) -> i64
34func char_export_gltf_gated(base: i64, F: *i64, cubevi: *i64, vbuf: *i64, fbuf: *i64, out: *i64,
42func char_deliver_ok(consent: *i64, now: i64, outfit: i64, explicit: i64, uses: i64) -> i64
46func char_write_glb_skin_recipe(vbuf:*i64,fbuf:*i64,nv:i64,nf:i64,hue:i64,region:i64,path:*u8)->i64
59func 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