Declaration
Gltf_Error :: struct {
kind: Gltf_Error_Kind; message: string;// byte offset in the input, when known offset: s64;// JSON pointer to the offending value, such as /accessors/3 path: string;}The outcome of a glTF operation; kind is .NONE on success. Release it with gltf_error_free.
_, error := gltf_load("glTF");
assert(error.kind == .CONTAINER);
gltf_error_free(*error);
assert(error.message.count == 0);