Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

RayTracingAccelerationStructureBuildFlags

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Specifies how Unity builds the acceleration structure on the GPU.

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

Additional resources: Settings, RayTracingMeshInstanceConfig, RayTracingAABBsInstanceConfig, BuildSettings.

Properties

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