muse2::input

Function load_model

Source
pub fn load_model<P: AsRef<Path>>(model_dir: P) -> Result<(Model, AssetPool)>
Expand description

Read a model from the specified directory.

§Arguments

  • model_dir - Folder containing model configuration files

§Returns

The static model data (Model) and an AssetPool struct or an error.