diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-09-28 21:01:49 +0000 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-09-28 21:01:49 +0000 |
| commit | 998eb2567dd7b30c3058404ac6f4bba4deb45330 (patch) | |
| tree | c6229968362121894de5c2de0c18d67c17a40ca9 /src/VkChess.cs | |
| parent | c7d842ba602f50e58424f18e57d87d14d87b5df3 (diff) | |
notify restartRequiredtests2
Diffstat (limited to 'src/VkChess.cs')
| -rw-r--r-- | src/VkChess.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/VkChess.cs b/src/VkChess.cs index de8f19f..0e3f0d1 100644 --- a/src/VkChess.cs +++ b/src/VkChess.cs @@ -832,6 +832,7 @@ namespace vkChess renderer.uboLights.Update (renderer.lights); } } + public bool RestartRequired => false; public VkSampleCountFlags SampleCount { get => Configuration.Global.Get<VkSampleCountFlags> ("SampleCount", VkSampleCountFlags.SampleCount1); set { @@ -840,6 +841,7 @@ namespace vkChess Configuration.Global.Set ("SampleCount", value); DeferredPbrRendererBase.NUM_SAMPLES = value; NotifyValueChanged ("SampleCount", value); + NotifyValueChanged ("RestartRequired", true); } } public bool EnableTesselation { @@ -849,6 +851,7 @@ namespace vkChess return; Configuration.Global.Set ("EnableTesselation", value); NotifyValueChanged ("EnableTesselation", value); + NotifyValueChanged ("RestartRequired", true); } } public bool EnableReflections { @@ -858,6 +861,7 @@ namespace vkChess return; Configuration.Global.Set ("EnableReflections", value); NotifyValueChanged ("EnableReflections", value); + NotifyValueChanged ("RestartRequired", true); } } public float SSRStep { |