DynamicGeometryManualUpdate
Use this mode when the associated geometry or transformation can change. Call RayTracingAccelerationStructure.UpdateInstanceGeometry to mark the geometry as dirty.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Experimental.Rendering
- Assembly: UnityEngine.CoreModule
DynamicGeometryManualUpdate = 4
Remarks
If you add a ray tracing instance that uses this mode to a RayTracingAccelerationStructure and its geometry is dirty, Unity updates the associated geometry acceleration structure (BLAS) when RayTracingAccelerationStructure.Build or CommandBuffer.BuildRayTracingAccelerationStructure is invoked. After invoking one of these functions, the geometry isn't considered dirty anymore.