# GpuBvhBuildOptions

> Options for bounding volume hierarchy (BVH) build.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor.Embree](/engine/6000.7/script-reference/unityeditor/embree.md)
* **Assembly:** UnityEditor

```csharp
public struct GpuBvhBuildOptions
```

## Properties

| Property                                                                                                              | Description                                                                                                                                             |
| --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [allowPrimitiveSplits](/engine/6000.7/script-reference/unityeditor/embree/gpubvhbuildoptions/allowprimitivesplits.md) | With this option enabled, Unity performs spatial splits. This increases the memory footprint, but the resulting BVH makes the ray tracing stage faster. |
| [isTopLevel](/engine/6000.7/script-reference/unityeditor/embree/gpubvhbuildoptions/istoplevel.md)                     | With this option enabled, Unity builds a top level BVH (for instances). When disabled, it builds a bottom level BVH (for a Mesh).                       |
| [maxLeafSize](/engine/6000.7/script-reference/unityeditor/embree/gpubvhbuildoptions/maxleafsize.md)                   | The maximum number of primitives allowed in a leaf node.                                                                                                |
| [minLeafSize](/engine/6000.7/script-reference/unityeditor/embree/gpubvhbuildoptions/minleafsize.md)                   | The minimum number of primitives allowed in a leaf node.                                                                                                |
| [quality](/engine/6000.7/script-reference/unityeditor/embree/gpubvhbuildoptions/quality.md)                           | BVH build quality.                                                                                                                                      |
