Enum BuildFlags
Specifies how Unity builds the acceleration structure on the GPU.
Namespace: UnityEngine.Rendering.UnifiedRayTracing
Assembly: Unity.UnifiedRayTracing.Runtime.dll
Syntax
[Flags]
public enum BuildFlags
Fields
Name | Description |
---|---|
MinimizeMemory | Minimize the amount of temporary memory Unity uses when building the acceleration structure, and minimize the size of the result. |
None | Specify no options for the acceleration structure build. Provides a trade-off between good ray tracing performance and fast build times. |
PreferFastBuild | Build a lower quality acceleration structure, minimizing build time but decreasing ray tracing performance. |
PreferFastTrace | Build a high quality acceleration structure, increasing build time but maximizing ray tracing performance. |