# dracoDecode

Function · category: Other

Source: https://github.com/playcanvas/engine/blob/970d89f6d3bc6667f4e1f88153abd6e7e82ed52c/src/framework/parsers/draco-decoder.js#L266

```ts
dracoDecode(buffer: ArrayBuffer, callback: Function): boolean
```

Enqueue a buffer for decoding.

**Parameters**

- `buffer` (`ArrayBuffer`): The draco data to decode.
- `callback` (`Function`): Callback function to receive decoded result.

**Returns** `boolean`: True if the draco worker was initialized and false otherwise.
