Crate gltf_importer [] [src]

glTF JSON, buffers, and images may come from a range of external sources, so customization is an important design goal of the import module. The Source trait is provided to facilitate customization of the data loading process.

For convenience, the library contains one implementation of the Source trait, namely FromPath, which allows loading from file system and also from embedded base64 encoded data. This implementation may be used as reference for other schemes such as http.

Reexports

pub use self::config::Config;

Modules

config

Contains data structures for import configuration.

Structs

Importer

A Future that drives the importation of glTF.

Enums

Error

Error encountered when importing a glTF 2.0 asset.