code wiki / (root) / nx_char_asset.nx

nx_char_asset.nx

buildroot/runtime/nx_char_asset.nx

2736 B43 linesdepth 4pulls 10 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 8 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.nx nx_char_asset.nx nx_char_asset_gate.nx

imports: nx_syscalls.nxnx_sdfrender.nxnx_assetvariant.nxnx_body_figure.nxnx_outfit.nxnx_consent.nxnx_meshgen.nxnx_gltf_export.nx

imported by: nx_char_asset_gate.nx

structs

none

consts

none

functions

18func char_build(base: i64, sp: i64, hv: i64, ev: i64, tv: i64, build: i64, figure: i64, outfit: i64) -> i64
26func char_delivery_tier(outfit: i64, explicit: i64) -> i64
33func char_export_gltf_gated(base: i64, F: *i64, cubevi: *i64, vbuf: *i64, fbuf: *i64, out: *i64,
41func char_deliver_ok(consent: *i64, now: i64, outfit: i64, explicit: i64, uses: i64) -> i64