/Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h
Adds a lambda pass to the graph without any parameters. This useful for deferring RHI work onto the graph timeline, or incrementally porting code to use the graph system. NeverCull and SkipRenderPass (if Raster) are implicitly added to Flags. AsyncCompute is not allowed. It is never permitted to access a created (i.e. not externally registered) RDG resource outside of passes it is registered with, as the RHI lifetime is not guaranteed.
template<typename ExecuteLambdaType> FRDGPassRef AddPass ( [FRDGEventName](API\Runtime\RenderCore\FRDGEventName) && Name, ERDGPassFlags Flags, ExecuteLambdaType && ExecuteLambda )