Declaration
Gltf_Error_Kind :: enum {
NONE;// the text is not valid JSON for the schema JSON;// a malformed GLB header, chunk or binary buffer CONTAINER;// a Gltf_Options bound was exceeded LIMIT;// a buffer or image could not be fetched or was the wrong size RESOLVE;// the document breaks a glTF rule INVALID;}Which stage of loading or validating failed.
_, error := gltf_load("{");
assert(error.kind == .JSON);
gltf_error_free(*error);