You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Add FRayTracingGeometry::EGeometryStateFlags for tracking the state instead of several bools: - Add new state for tracking if the geometry was streamed in - its primary use is for dynamic ray tracing. - When ray tracing is toggled on at runtime we only recreate geometries that were marked as streamed in. * Streamed geometries have to be created in a different way than regular geometries: - Creating geometry with StreamingDestination type will not allocate any memory for BLAS buffers. - Those can only be initialized by InitRHIForStreaming from temporary geometry with a StreamingSource type - Added FRayTracingGeometry::InitRHIForDynamicRayTracing() to handle both StreamingDestination and Rendering - For StreamingDestination it will do similar steps as normal mesh streaming does. * Add missing RayTracingGeometry initialization when dynamic ray tracing was enabled but ray tracing was disabled. #rb tiago.costa, yuriy.odonnell #preflight 6372245ebf76990b71f5d021 [CL 23116977 by aleksander netzel in ue5-main branch]