기술 자료

Unity Engine

Unity Engine

GpuBvhBuildOptions

Options for bounding volume hierarchy (BVH) build.
읽는 시간 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.