Enum gltf_importer::Error
[−]
[src]
pub enum Error { BufferLength(Path), ExtensionDisabled(String), ExtensionUnsupported(String), IncompatibleVersion(String), Io(Error), MalformedGlb(String), MalformedJson(Error), Validation(Vec<(Path, Error)>), }
Error encountered when importing a glTF 2.0 asset.
Variants
BufferLength(Path)
A loaded glTF buffer is not of the required length.
ExtensionDisabled(String)
A glTF extension required by the asset has not been enabled by the user.
ExtensionUnsupported(String)
A glTF extension required by the asset is not supported by the library.
IncompatibleVersion(String)
The glTF version of the asset is incompatible with the importer.
Io(Error)
Standard I/O error.
MalformedGlb(String)
Failure when parsing a .glb file.
MalformedJson(Error)
Failure when deserializing .gltf or .glb JSON.
Validation(Vec<(Path, Error)>)
The .gltf data is invalid.