# CMPTLoader

class in `3d-tiles-renderer/three`, extends `CMPTLoaderBase`

```js
import { CMPTLoader } from '3d-tiles-renderer/three';
```

Loader for the legacy 3D Tiles Composite (cmpt) format. Parses a cmpt container
that bundles multiple b3dm, i3dm, and pnts tiles, returning a scene Group containing
all sub-tile scenes.

## Constructor

```js
new CMPTLoader( manager?: LoadingManager )
```

- `manager`, `LoadingManager`, optional

## Methods

### .parse

```js
.parse( buffer: ArrayBuffer ): Promise<{scene: Group, tiles: Array}>
```

Parses a cmpt buffer and resolves to an object containing a `Group` with all
sub-tile scenes added as children, and the individual sub-tile results.

- `buffer`, `ArrayBuffer`
