pub fn load_bytes_with_resource_root(
path: &Path,
bytes: &[u8],
resource_root: &Path,
) -> Result<Document, LoadError>Expand description
Load captured FBX bytes with one explicit trusted resource root.
External declarations are resolved only below resource_root, after
lexical normalization and component-by-component symbolic-link refusal.
The exact bytes captured here are used both for dependency identity and
optional normalized texture assets.
ยงErrors
Returns the same parser and source-facts errors as load_bytes. Resource
failures are represented in the dependency closure rather than as a loader
error.