Files
tiago costa 278827a78a [Ray Tracing Instance Gathering Refactor] Refactored dynamic ray tracing instance gathering.
- Deprecated FRayTracingMeshResourceCollector and FRayTracingMaterialGatheringContext.
- Instead GetDynamicRayTracingInstances(...) implementations should use the new FRayTracingInstanceCollector which extends FMeshElementCollector with ray tracing functionality (AddRayTracingInstance/AddReferencedGeometryGroup/AddRayTracingGeometryUpdate)
    - this is similar to GetDynamicMeshElements(...) using FMeshElementCollector.
    - FRayTracingInstanceCollector uses a dedicated RHI command list to gather instances, which is different than FRayTracingMaterialGatheringContext which used the immediate command list.
- Moved dynamic instance gathering logic in RayTracing.cpp into a new class FDynamicRayTracingInstancesContext laying the foundation of gathering dynamic instances in parallel threads on follow up changes.

#rb Kenzo.Terelst

[CL 36034312 by tiago costa in ue5-main branch]
2024-09-05 05:19:35 -04:00
..