aboutsummaryrefslogtreecommitdiff
path: root/include/ansel/Configuration.h
diff options
context:
space:
mode:
authornvjingham <[email protected]>2018-11-07 18:37:49 -0800
committernvjingham <[email protected]>2018-11-07 18:37:49 -0800
commitea1d75a6f310c90c571c758683daf4187fe654a9 (patch)
tree8c59f01736e80ebb470e4dc3bf667ffb3b9c73f6 /include/ansel/Configuration.h
parentUpdating Ansel SDK (diff)
downloadanselsdk-ea1d75a6f310c90c571c758683daf4187fe654a9.tar.xz
anselsdk-ea1d75a6f310c90c571c758683daf4187fe654a9.zip
Updating Ansel SDK to v1.6
Diffstat (limited to 'include/ansel/Configuration.h')
-rw-r--r--include/ansel/Configuration.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/ansel/Configuration.h b/include/ansel/Configuration.h
index 96169e4..1db804f 100644
--- a/include/ansel/Configuration.h
+++ b/include/ansel/Configuration.h
@@ -136,6 +136,14 @@ namespace ansel
// Holds the sdk version, doesn't require modifications
uint64_t sdkVersion;
+ // Called when Ansel wants to give the application an opportunity to change image quality.
+ // For example, keeping normal quality in-game for setting up a shot, but boosting quality
+ // when actually taking the shot, then dropping quality back down to normal afterwards
+ // we provide a binary normal/high quality switch using the bool argument (normal=false,high=true)
+ // if the application wants to provide finer controls for quality, it can do so through
+ // general Ansel SDK user controls
+ ChangeQualityCallback changeQualityCallback;
+
Configuration()
{
right.x = 0.0f;
@@ -166,6 +174,7 @@ namespace ansel
stopCaptureCallback = nullptr;
unused2 = true;
unused1 = false;
+ changeQualityCallback = nullptr;
sdkVersion = ANSEL_SDK_VERSION;
}
};