# SerializedBVH

typedef in `three-mesh-bvh`

Plain-object representation of a `MeshBVH` produced by `MeshBVH.serialize` and
consumed by `MeshBVH.deserialize`. Suitable for transfer across WebWorker boundaries
or storage, with optional buffer sharing via `SharedArrayBuffer`.

## Properties

- `roots`, `Array<ArrayBuffer>`: BVH root node buffers.
- `index`, `Int32Array | Uint32Array | Uint16Array | null`: Serialized geometry index buffer.
- `indirectBuffer`, `Uint32Array | Uint16Array | null`: Indirect primitive index buffer, or `null`
  if the BVH was not built in indirect mode.
