RayTracingAccelerationStructure.Settings
Defines whether Unity or the user updates a RayTracingAccelerationStructure. Also provides additional filtering and acceleration structure build options.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public struct RayTracingAccelerationStructure.Settings
Fields
Value | Description |
|---|---|
| layerMask | A 32-bit mask that controls which layers a GameObject must be on to add it to the RayTracingAccelerationStructure. |
| managementMode | An enum that determines whether Unity or the user updates a RayTracingAccelerationStructure. |
| rayTracingModeMask | An enum that determines the RayTracingModes a Renderer must have in order to add it to the RayTracingAccelerationStructure. |
Constructors
Properties
Property | Description |
|---|---|
| buildFlagsDynamicGeometries | The flags Unity uses when it builds acceleration structures associated with dynamic geometries. |
| buildFlagsStaticGeometries | The flags Unity uses when it builds acceleration structures associated with static geometries. |
| enableCompaction | Set to true to enable acceleration structure compaction for static geometries. |