build_router

Function build_router 

Source
pub fn build_router(
    config: RouterConfig,
    policy: SchedulerPolicy,
    caches: RouterCaches,
    layers: Option<Arc<MaterialLayerIndex>>,
    instances: Option<&MappedInstancePlan>,
    indexed_colours: Option<&Arc<FxHashSet<u32>>>,
) -> GeometryRouter
Expand description

Arm a router completely before the first owned product leases it. Native callers forward the model material-layer index; browser callers retain their merge toggle. Indexed-colour exclusion is meaningful only with instancing armed.