/Engine/Source/Runtime/RenderCore/Public/RenderCaptureInterface.h
Helper for capturing within a scope. Handles both game and render thread. Fails gracefully if noIRenderCaptureProviderexists.
class FScopedCapture