pub trait GltfResourceResolver: Send + Sync {
// Required methods
fn resolve_buffer(
&self,
uri: &str,
) -> Result<Vec<u8>, Box<dyn Error + Send + Sync>>;
fn resolve_image(
&self,
uri: &str,
) -> Result<Vec<u8>, Box<dyn Error + Send + Sync>>;
}Expand description
A trait for resolving external resources (like buffers or images) referenced by a URI within an asset file.