Skip to main content

load_source_bytes_with_resource_root

Function load_source_bytes_with_resource_root 

Source
pub fn load_source_bytes_with_resource_root(
    path: &Path,
    bytes: &[u8],
    resource_root: &Path,
) -> Result<LoadedSource, LoadError>
Expand description

Load captured FBX bytes and retain source facts plus a rooted dependency closure.

resource_root is the sole filesystem authority for external FBX resources. It is not serialized or included in diagnostics, reports, or dependency identity.

ยงErrors

Returns the same parser and source-facts errors as load_source_bytes.