Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RayTracingAccelerationStructureBuildFlags

Specifies how Unity builds the acceleration structure on the GPU.
Read time 1 minuteLast updated 4 days ago

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.