# createChunkDataPool

Function

Source: https://github.com/playcanvas/splat-transform/blob/b6424a5b3b929695fbaafe738a995adb1240d675/src/lib/chunk/pool.ts#L59

```ts
createChunkDataPool(options?: object): ChunkDataPool
```

Create a CPU `ChunkData` pool.

**Parameters**

- `options` (`object`, optional): Pool options.
    - `options.chunkSize` (`number`, optional): Gaussians per chunk (default 1M). Should match
      the `chunkSize` of any source it services.
    - `options.maxPooledBytes` (`number`, optional): Cap on bytes held in the free list (default 2 GB).

**Returns** [`ChunkDataPool`](https://api.playcanvas.com/splat-transform/interfaces/ChunkDataPool.md): A new [ChunkDataPool](https://api.playcanvas.com/splat-transform/interfaces/ChunkDataPool.md).
