pub fn scope_material_bindings(
asset_uri: &str,
materials: &[MaterialRecord],
ranges: &[SubmeshRange],
) -> Result<(Vec<MaterialRecord>, Vec<SubmeshRange>), MaterialCompileError>Expand description
Scope source-local imported material IDs to a stable asset URI and remap primitive ranges. This is cold-path construction; deterministic IDs keep separately compiled assets isolated.