pub fn load_source_bytes(
path: &Path,
bytes: &[u8],
) -> Result<LoadedSource, LoadError>Expand description
Load captured FBX bytes and retain bounded importer-sensitive source facts.
path is diagnostics and parser context only. Source identity is computed
exclusively from bytes; no host path enters the dependency closure. This
entry point deliberately performs no external resource I/O.
ยงErrors
Returns LoadError::Path when path cannot be passed to ufbx,
LoadError::Fbx when the FBX container cannot be parsed,
LoadError::Bake when an animation take cannot be baked, and
LoadError::SourceFacts when the loader violates a core source-fact
binding invariant.