DynamicGeometryManualUpdate
Use this mode when the associated geometry or transformation can change. Call RayTracingAccelerationStructure.UpdateInstanceGeometry to mark the geometry as dirty.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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.