/Engine/Source/Developer/ScreenShotComparisonTools/Public/ImageComparer.h
All paths in this structure should be portable. Test results (including this struct) result can be serialized to JSON and stored on the network as during automation runs then opened in the editor to commit / approve changes to the local project.
struct FImageComparisonResult
FString
ApprovedFilePath
Path to the file that was considered as the ground-truth. Relative to the project directory
FString
ComparisonFilePath
Path to the delta image between the ground-truth and the incoming file.
FDateTime
CreationTime
Time that the comparison was performed
FText
ErrorMessage
Error message that can be set during a comparison
double
GlobalDifference
Global difference found during comparison
FString
IdealApprovedFolderPath
Path to a folder where the idealized ground-truth for this comparison would be.
FString
IncomingFilePath
Path to the file that was generated in the test.
double
MaxLocalDifference
Largest local difference found during comparison
FString
ReportApprovedFilePath
Name of the approved file saved for the report.
FString
ReportComparisonFilePath
Name of the delta image saved for the report.
FString
ReportIncomingFilePath
Name of the incoming file saved for the report.
FString
SourcePlatform
Platform that the incoming image was generated on
FString
SourceRHI
RHI that the incoming image was generated with
FImageTolerance
Tolerance
Tolerance values for comparison
int32
Version
Version of the image comparision result