文档

Unity Engine

Unity Engine

GpuBvhBuildOptions

Options for bounding volume hierarchy (BVH) build.
阅读时间1 分钟最后更新于 1 个月前

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.