# ChunkSourceMetadata

Type alias

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

Static description of a [ChunkSource](https://api.playcanvas.com/splat-transform/interfaces/ChunkSource.md)'s contents — what's in it and
how it's laid out. Populated at `open()` time; never changes thereafter.

`chunkSize` is the gaussian count per chunk; all chunks are this size except
the final one in each LOD, which holds `lodCounts[lod] % chunkSize` gaussians
(or `chunkSize` if the count divides evenly).

`layouts` exposes the byte stride and named field map for each available
layer, used by callers when acquiring `ChunkData` buffers from a [ChunkDataPool](https://api.playcanvas.com/splat-transform/interfaces/ChunkDataPool.md).

LOD is a structural axis: a chunk belongs to exactly one LOD. Sources never
carry a per-gaussian LOD tag.

```ts
type ChunkSourceMetadata = undefined
```
