GpuBvhBuildOptions
Options for bounding volume hierarchy (BVH) build.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: UnityEditor.Embree
- Assembly: UnityEditor
public struct GpuBvhBuildOptions
Properties
Property | Description |
|---|---|
| allowPrimitiveSplits | With this option enabled, Unity performs spatial splits. This increases the memory footprint, but the resulting BVH makes the ray tracing stage faster. |
| isTopLevel | With this option enabled, Unity builds a top level BVH (for instances). When disabled, it builds a bottom level BVH (for a Mesh). |
| maxLeafSize | The maximum number of primitives allowed in a leaf node. |
| minLeafSize | The minimum number of primitives allowed in a leaf node. |
| quality | BVH build quality. |