Pass the asset's folder as user data, pointing to a string. Resolves only contained files.
Signature
gltf_local_resolve :: (
user: *void,
uri: string,
limit: s64
) -> (string, bool)
folder := "assets"; // contains the .bin and image files the glTF names
resolver := Gltf_Resolver.{ gltf_local_resolve, *folder };
asset, error := gltf_load("{\"asset\":{\"version\":\"2.0\"}}", resolver);
assert(error.kind == .NONE);
gltf_free(*asset);