/Engine/Source/Runtime/Engine/Public/GPUSortManager.h
Callback that needs to be called in the rendering loop, after calls toFFXSystemInterface::PreRender()are issued. At this point, no other GPU sort tasks are allowed to be created throughAddTask()as the sort batches get finalized. At this point, any task with the EGPUSortFlags::SortAfterPreRender will possibly be done, unless it also had the EGPUSortFlags::SortAfterPostRenderOpaque flag. Tasks with EGPUSortFlags::KeyGenAfterPreRender get their client callbacks issued to set the initial keys and values.
void OnPreRender ( class [FRDGBuilder](API\Runtime\RenderCore\FRDGBuilder) & GraphBuilder )