pub fn load_source(path: &Path) -> Result<LoadedSource, LoadError>Expand description
Load a .gltf or .glb file with immutable importer-sensitive source facts.
The returned owner binds the normalized document and raw facts to the exact
primary bytes read here. It intentionally exposes no mutable document
access; consume it with LoadedSource::into_document to discard the
sidecar and recover the legacy document-only value.
ยงErrors
Returns LoadError under the same conditions as load. Projection
budget exhaustion is represented as partial fact coverage and is never a
load failure.