RayTracingMode
Options for updating a ray tracing instance added to a RayTracingAccelerationStructure.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.Experimental.Rendering
- Assembly: UnityEngine.CoreModule
public enum RayTracingMode
Remarks
Additional Resources: SystemInfo.supportsRayTracing.
Fields
Value | Description |
|---|---|
| DynamicGeometry | Use this mode when the associated geometry or transformation can change. |
| DynamicGeometryManualUpdate | Use this mode when the associated geometry or transformation can change. Call RayTracingAccelerationStructure.UpdateInstanceGeometry to mark the geometry as dirty. |
| DynamicTransform | Use this mode to have ray tracing instances update the transformation. This mode does not update their geometry. |
| Off | Use this mode to ensure the ray tracing instances are not added to a RayTracingAccelerationStructure, and that they cannot be ray traced. |
| Static | Use this mode to have the ray tracing instances remain static, and never update their transformation or geometry. |