Struct gltf_importer::Importer
[−]
[src]
pub struct Importer { /* fields omitted */ }
An Importer
loads glTF
and all of its buffer data from the file system.
Methods
impl Importer
[src]
fn new<P: Into<PathBuf>>(path: P) -> Self
Constructs an Importer
.
fn import(&mut self) -> Result<Loaded<&Gltf>, Error>
Imports the glTF
.
fn path(&self) -> &Path
Returns the path to the glTF
.