Compressed geometry
Transport geometry compactly, decode it where it is needed.
Draco represents geometry attributes using specialized compression. The loaders.gl boundary keeps the compressed payload format-specific while exposing decoded attributes through the mesh category.
Geometry
Triangle meshes and point clouds with supported attributes.
Compression
Quantization and prediction reduce delivery size.
Decode
Return Mesh objects or Mesh Arrow tables.
Encode
Write compatible mesh data as Draco binary.
Detailed guide
Draco format and API details
The reference below covers encoded geometry, attributes, compression behavior, worker loading, and writer compatibility.
| Characteristic | Value |
|---|---|
| File Format | Draco |
| Data Format | Mesh, Mesh Arrow table |
| File Extension | .drc |
| MIME Type | application/octet-stream |
| File Type | Binary |
| Loader APIs | load, parse, parseSync |
| Loader Worker Thread | ✅ Yes |
| Loader Streaming | ❌ No |
| Writer APIs | encode, encodeSync |
Loaders and Writers
Encodings
Draco stores compressed mesh and point cloud geometry. It supports triangle meshes and point clouds, and can preserve supported attribute arrays and metadata dictionaries.
Runtime
DracoLoader and DracoWriter use the official Draco3D 1.5.7 decoder and encoder runtimes. The WebAssembly runtimes are loaded dynamically by default, are also published as package-local assets for workers and offline applications, and can be supplied through options.modules.