pub fn load_source_bytes(
path: &Path,
bytes: &[u8],
) -> Result<LoadedSource, LoadError>Expand description
Load captured .gltf or .glb bytes with immutable raw-source facts.
bytes is both the parser input and the authority for
animsmith_core::InputIdentity. This self-contained entry point refuses
safe relative external declarations because captured bytes alone do not
authorize a local filesystem root; use
load_source_bytes_with_resource_root for such inputs.
ยงErrors
Returns LoadError under the same conditions as load_bytes. A
source-facts projection limit produces a successful value with partial
coverage.