GLB container and JSON scene description
A .glb is one binary file: a 12-byte header (magic 'glTF', version, total length), then a JSON chunk describing scenes, nodes, meshes, materials, and animations, then a BIN chunk with vertex and index data. A .gltf file holds the same JSON as text and references external .bin and image files by URI. The viewer parses the JSON, resolves every bufferView and accessor, and uploads the resulting arrays to the GPU.