Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GpuBvhBuildOptions

Options for bounding volume hierarchy (BVH) build.
Read time 1 minuteLast updated 13 days ago

Definition

public struct GpuBvhBuildOptions

Properties

Property

Description

allowPrimitiveSplitsWith this option enabled, Unity performs spatial splits. This increases the memory footprint, but the resulting BVH makes the ray tracing stage faster.
isTopLevelWith this option enabled, Unity builds a top level BVH (for instances). When disabled, it builds a bottom level BVH (for a Mesh).
maxLeafSizeThe maximum number of primitives allowed in a leaf node.
minLeafSizeThe minimum number of primitives allowed in a leaf node.
qualityBVH build quality.