glTF 2.0 binary (.glb) reader and writer — exports Mesh / Scene as a glb file readable by Blender, three.js, gltf-validator, and reads a glb back into them. Standalone (pure-loft, no GPU).
loft install glb
use glb;
| Guide | getting started with glb |
|---|---|
| Version | 0.1.10 — published 2026-12-05 |
| Categories | Graphics and 3D · Asset formats |
| Requires | loft >=2026.12.0 |
| Compatibility | API: drop-in for 0.1.0 and later · stored data: drop-in for 0.1.0 and later |
| Download | 63 kB |
| Public API | 12 items, with their documentation |
| Dependencies | mesh3d |
| Used by | graphics |
| Yanked versions | 0.1.1 — do not pin these |
| Source | read it here — the libraries are written in loft |
| Repository | https://github.com/loft-lang/loft-libs-assets/tree/main/glb |
A drop-in floor is the oldest release of this package the current one still replaces without a source change. Not declared means exactly that — the package has made no promise, which is the honest state for one published before the compatibility contract existed.