# selectLod

Function

Source: https://github.com/playcanvas/splat-transform/blob/b6424a5b3b929695fbaafe738a995adb1240d675/src/lib/ops/select-lod.ts#L17

```ts
selectLod(src: ChunkSource, level: number): ChunkSource
```

View a single LOD level of a multi-LOD source as a single-LOD source — the
inverse of [stackLods](https://api.playcanvas.com/splat-transform/functions/stackLods.md). Reads (chunk or gather) forward to the parent
with `lod: level`; metadata is narrowed to that level's counts.

Several `selectLod` views typically share one parent (one per level, then
re-stacked), so `close()` is a **no-op**: the caller owns the parent's
lifetime and closes it once. (A view closing the shared parent would break the
other levels — e.g. a per-level pass that materializes one level.)

**Parameters**

- `src` ([`ChunkSource`](https://api.playcanvas.com/splat-transform/interfaces/ChunkSource.md)): The parent (multi-LOD) source.
- `level` (`number`): The LOD level to expose (0-based).

**Returns** [`ChunkSource`](https://api.playcanvas.com/splat-transform/interfaces/ChunkSource.md): A single-LOD source over `src`'s level `level`.
