You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (IMGUI_ADD_TOOLTIP(ImGui::Button("Save Settings"), "Changes are now saved to user.conf. Use the 'Save' button in the rtx.conf layer if you want to store them there for sharing.")) {
1103
1103
RtxOptions::serialize();
1104
1104
}
1105
-
ImGui::SetTooltipToLastWidgetOnHover("This will save above settings in the rtx.conf file. Some may only take effect on next launch.");
1106
1105
1107
1106
ImGui::SameLine();
1108
-
if (ImGui::Button("Reset Settings")) {
1109
-
for (auto& optionLayer : RtxOptionImpl::getRtxOptionLayerMap()) {
1110
-
optionLayer.setEnabled(false);
1111
-
}
1107
+
if (IMGUI_ADD_TOOLTIP(ImGui::Button("Reset settings"), "Reset all real-time changed settings.")) {
1108
+
RtxOptionLayer::setResetSettings(true);
1112
1109
}
1113
1110
1114
1111
ImGui::SameLine();
@@ -1983,9 +1980,17 @@ namespace dxvk {
1983
1980
if (ImGui::CollapsingHeader("Option Layers")) {
1984
1981
ImGui::Indent();
1985
1982
1986
-
if (ImGui::Button("Reset runtime settings")) {
1987
-
// Remove all run-time changed settings
1988
-
RtxOptionLayer::setResetSettings(true);
1983
+
if (IMGUI_ADD_TOOLTIP(ImGui::Button("Disable Layers"), "Reset all settings to Default.")) {
1984
+
for (auto& optionLayer : RtxOptionImpl::getRtxOptionLayerMap()) {
1985
+
optionLayer.setEnabled(false);
1986
+
}
1987
+
}
1988
+
1989
+
ImGui::SameLine();
1990
+
if (IMGUI_ADD_TOOLTIP(ImGui::Button("Enable Layers"), "Enable all option layers.")) {
1991
+
for (auto& optionLayer : RtxOptionImpl::getRtxOptionLayerMap()) {
0 commit comments