parse
Parse a glTF asset.
Parameters
json Text
JSON document (chunk 0 of a GLB, or raw .gltf file contents).
bin Chunk
binary chunk (chunk 1 of a GLB), or null for JSON-only assets. When present, every accessor's bufferView references buffer 0 = this chunk.