Skip to main content

load

Function load 

Source
pub fn load(path: &Path, ext: &str) -> Result<Model>
Expand description

Reads the model at path, picking the reader by ext. Files a model refers to (an OBJ’s MTL, a GLB’s external buffers) are looked up next to it.