Function mallumo::load_gltf [] [src]

pub fn load_gltf<T: AsRef<Path>>(
    filepath: &T
) -> Result<(Vec<u32>, Vec<Vertex>, Vec<PrimitiveParameters>, Vec<Texture2D>, Vec<Shape>), Error>

Loads .gltf file and returns joined shapes. The result may be passed into ShapeList functions.