/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h
Takes a screenshot of the widget writing the results into the color buffer provided. This is to be used with HDR buffers the size of the resulting image is also output.
true if taking the screenshot was successful.
bool TakeHDRScreenshot ( const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > & Widget, [TArray](API\Runtime\Core\Containers\TArray)< [FLinearColor](API\Runtime\Core\Math\FLinearColor) > & OutColorData, FIntVector & OutSize )