summaryrefslogtreecommitdiffstats
path: root/NativeApp/include
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-10-11 23:04:02 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-10-11 23:04:02 +0000
commit8a8c9c12289ad2b0fe2044f3e38ef436b7716260 (patch)
tree72756a82bef3a7a3ebd0b5e9f6882cf722c69bad /NativeApp/include
parentReadme: updated the list of third-party dependencies (diff)
downloadDiligentTools-8a8c9c12289ad2b0fe2044f3e38ef436b7716260.tar.gz
DiligentTools-8a8c9c12289ad2b0fe2044f3e38ef436b7716260.zip
AppBase: added CompareUpdate golden image mode
Diffstat (limited to 'NativeApp/include')
-rw-r--r--NativeApp/include/AppBase.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/NativeApp/include/AppBase.hpp b/NativeApp/include/AppBase.hpp
index c685c3b..0817226 100644
--- a/NativeApp/include/AppBase.hpp
+++ b/NativeApp/include/AppBase.hpp
@@ -50,7 +50,11 @@ public:
/// one frame, compares it with the golden image and exists.
/// Zero exit code indicates that the frame is identical to the golden image.
/// The non-zero code indicates the number of pixels that differ.
- Compare
+ Compare,
+
+ /// Compare the golden image as in Compare mode, and then update
+ /// it as in Capture mode.
+ CompareUpdate
};
virtual ~AppBase() {}