/Engine/Source/Runtime/Engine/Classes/Kismet/KismetRenderingLibrary.h
Exports a render target as a HDR or PNG image onto the disk (depending on the format of the render target)
static void ExportRenderTarget ( [UObject](API\Runtime\CoreUObject\UObject\UObject) * WorldContextObject, [UTextureRenderTarget2D](API\Runtime\Engine\Engine\UTextureRenderTarget2D) * TextureRenderTarget, const [FString](API\Runtime\Core\Containers\FString) & FilePath, const [FString](API\Runtime\Core\Containers\FString) & FileName )