The DracoLoader
decodes a mesh or point cloud (maps of attributes) using DRACO compression.
Loader | Characteristic |
---|---|
File Extension | .drc |
File Type | Binary |
File Format | Draco |
Data Format | Mesh |
Supported APIs | parse |
Features:
Int32Array
.import {DracoLoader} from '@loaders.gl/draco';
import {load} from '@loaders.gl/core';
const data = await load(url, DracoLoader, options);
Option | Type | Default | Description |
---|
Draco libraries by default are loaded from CDN, but can be bundled and injected. See [modules/draco/docs] for details.