build_material_style_index

Function build_material_style_index 

Source
pub fn build_material_style_index(
    material_def_reprs: &FxHashMap<u32, Vec<u32>>,
    orphan_styled_items: &FxHashMap<u32, [f32; 4]>,
    decoder: &mut EntityDecoder<'_>,
) -> FxHashMap<u32, Vec<[f32; 4]>>
Expand description

material id → colours, by following each material’s styled representations to the orphan styled items they reference.