code wiki / (root) / nx_cast_hair_guide_lookup_t263.nx

nx_cast_hair_guide_lookup_t263.nx

buildroot/runtime/nx_cast_hair_guide_lookup_t263.nx

3546 B50 linesdepth 0pulls 0 transitivereach 1 importersview sourcekind librarytopic cast
docsdependenciesstructsconstsfunctions

about

Additive compact-guide shader expressions for existing cast source. uGD schema: texel0=(width,nodes,subdivisions,-1); texel1=(verticesPerChild, verticesPerGuide,guides,instances). Following texels are bind-space deltas, instance-major then guide then node. Admission owns dimensions and extents.

dependencies 0 imports · 1 importers

nx_cast_hair_guide_lookup_t263 nx_cast_hair_guides_candidate_t263

imports: none

imported by: nx_cast_hair_guides_candidate_t263.nx

structs

none

consts

none

functions

5func csg_rem(m:*i64,a:i64,b:i64)->i64{return ws_bin(m,"%" as *u8,a,b,T_I32)}
6func csg_add(m:*i64,q:i64,n:*u8,t:i64,e:i64)->i64{return ws_q2(m,q,sir_var(m,n,t,e))}
7func csg_load(m:*i64,index:i64,width:i64)->i64
11func cs_xyz_load(m:*i64,e:i64)->i64{return ws_sw(m,e,"xyz" as *u8,T_V3F)}
called by 1: csg_load
12func cs_hair_guide_branch(m:*i64,legacy:i64)->i64