文档

Unity Engine

Unity Engine

RayTracingAccelerationStructureBuildFlags

Specifies how Unity builds the acceleration structure on the GPU.
阅读时间1 分钟最后更新于 1 个月前

Definition

[Flags]public enum RayTracingAccelerationStructureBuildFlags

Remarks

Note that some flags might not be compatible with each other.

Fields

Value

Description

MinimizeMemoryMinimize the amount of temporary memory Unity uses when it builds the acceleration structure, and minimize the size of the result.
NoneSpecify no options for the acceleration structure build.
PreferFastBuildBuild a lower quality acceleration structure, minimizing build time but decreasing ray tracing performance.
PreferFastTraceBuild a high quality acceleration structure, increasing build time but maximizing ray tracing performance.