Function resolve_mesh_material

Source
pub fn resolve_mesh_material<'a, I>(node_then_ancestors: I) -> Material
where I: IntoIterator<Item = &'a NodePresentation>, I::IntoIter: Clone,
Expand description

The material for a mesh node, from the node and its ancestors given nearest first. The nearest gltf::material wins over any bsi::ifc::presentation attribute; without one, see resolve_basic_material.