mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-10-16 23:49:19 +02:00
Warn when the experimental renderer is picked
This commit is contained in:
@@ -248,14 +248,20 @@
|
||||
<StackPanel>
|
||||
<ctl:SettingRow ConfigKey="gfxrenderer" Label="{Binding [RenderEngine], Source={x:Static starterNg:App.Loc}}"
|
||||
Description="{Binding [RenderEngineDesc], Source={x:Static starterNg:App.Loc}}">
|
||||
<ComboBox x:Name="RenderEngineCb" SelectedIndex="0">
|
||||
<ComboBoxItem Content="{Binding [REFull], Source={x:Static starterNg:App.Loc}}" />
|
||||
<ComboBoxItem Content="{Binding [REOld], Source={x:Static starterNg:App.Loc}}" />
|
||||
<ComboBoxItem Content="{Binding [RESimpShader], Source={x:Static starterNg:App.Loc}}" />
|
||||
<ComboBoxItem Content="{Binding [RESimp], Source={x:Static starterNg:App.Loc}}" />
|
||||
<ComboBoxItem Content="{Binding [REOff], Source={x:Static starterNg:App.Loc}}" />
|
||||
<ComboBoxItem Content="{Binding [REExperimental], Source={x:Static starterNg:App.Loc}}" />
|
||||
</ComboBox>
|
||||
<StackPanel Spacing="6">
|
||||
<ComboBox x:Name="RenderEngineCb" SelectedIndex="0"
|
||||
SelectionChanged="RenderEngineCb_OnSelectionChanged">
|
||||
<ComboBoxItem Content="{Binding [REFull], Source={x:Static starterNg:App.Loc}}" />
|
||||
<ComboBoxItem Content="{Binding [REOld], Source={x:Static starterNg:App.Loc}}" />
|
||||
<ComboBoxItem Content="{Binding [RESimpShader], Source={x:Static starterNg:App.Loc}}" />
|
||||
<ComboBoxItem Content="{Binding [RESimp], Source={x:Static starterNg:App.Loc}}" />
|
||||
<ComboBoxItem Content="{Binding [REOff], Source={x:Static starterNg:App.Loc}}" />
|
||||
<ComboBoxItem Content="{Binding [REExperimental], Source={x:Static starterNg:App.Loc}}" />
|
||||
</ComboBox>
|
||||
<TextBlock x:Name="RenderEngineWarning" IsVisible="False" TextWrapping="Wrap"
|
||||
Foreground="{StaticResource CarbonAccentBright}"
|
||||
Text="{Binding [REExperimentalWarning], Source={x:Static starterNg:App.Loc}}" />
|
||||
</StackPanel>
|
||||
</ctl:SettingRow>
|
||||
<ctl:SettingRow ConfigKey="gfx.angleplatform" Description="{Binding [RenderAngleVulkanDesc], Source={x:Static starterNg:App.Loc}}">
|
||||
<CheckBox x:Name="RenderAngleVulkanCb" Content="{Binding [RenderAngleVulkan], Source={x:Static starterNg:App.Loc}}" />
|
||||
|
||||
@@ -448,6 +448,13 @@ public partial class Settings : UserControl, ISettingsCapture
|
||||
SaveStatus.Text = App.Loc["SettingsSaved"];
|
||||
}
|
||||
|
||||
private void RenderEngineCb_OnSelectionChanged(object? sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
if (RenderEngineWarning is not null)
|
||||
RenderEngineWarning.IsVisible =
|
||||
SimulatorSettings.RenderEngines.ElementAtOrDefault(RenderEngineCb.SelectedIndex) == "experimental";
|
||||
}
|
||||
|
||||
private UpdateChannel SelectedChannel() =>
|
||||
UpdateChannelCb.SelectedIndex == 1 ? UpdateChannel.Staging : UpdateChannel.Stable;
|
||||
|
||||
|
||||
@@ -367,6 +367,7 @@
|
||||
<String key="RESimp">Zjednodušený</String>
|
||||
<String key="REOff">Vypnout vizuální vrstvu</String>
|
||||
<String key="REExperimental">Experimentální</String>
|
||||
<String key="REExperimentalWarning">Upozornění: experimentální renderer je ve vývoji. Může být nestabilní, nezobrazovat části scény nebo se na některých grafických kartách nespustit. Pokud se simulátor nespustí nebo vypadá špatně, vraťte se k rendereru „Plný“.</String>
|
||||
|
||||
<String key="Resolution">Rozlišení</String>
|
||||
<String key="BufforResolution">Rozlišení bufferu</String>
|
||||
|
||||
@@ -375,6 +375,7 @@
|
||||
<String key="RESimp">Simplified</String>
|
||||
<String key="REOff">Disable visual layer</String>
|
||||
<String key="REExperimental">Experimental</String>
|
||||
<String key="REExperimentalWarning">Note: the experimental renderer is still being developed. It may be unstable, miss parts of the scene or not start on some graphics cards. If the simulator does not start or looks wrong, go back to the “Full” renderer.</String>
|
||||
|
||||
<String key="Resolution">Resolution</String>
|
||||
<String key="BufforResolution">Buffer resolution</String>
|
||||
|
||||
@@ -367,6 +367,7 @@
|
||||
<String key="RESimp">Egyszerűsített</String>
|
||||
<String key="REOff">Vizuális réteg kikapcsolása</String>
|
||||
<String key="REExperimental">Kísérleti</String>
|
||||
<String key="REExperimentalWarning">Figyelem: a kísérleti renderelő még fejlesztés alatt áll. Instabil lehet, a jelenet egyes részei hiányozhatnak, vagy egyes videokártyákon el sem indul. Ha a szimulátor nem indul el vagy hibásan jelenik meg, válts vissza a „Teljes” renderelőre.</String>
|
||||
|
||||
<String key="Resolution">Felbontás</String>
|
||||
<String key="BufforResolution">Puffer felbontása</String>
|
||||
|
||||
@@ -375,6 +375,7 @@
|
||||
<String key="RESimp">Uproszczony</String>
|
||||
<String key="REOff">Wyłącz warstwę wizualną</String>
|
||||
<String key="REExperimental">Eksperymentalny</String>
|
||||
<String key="REExperimentalWarning">Uwaga: renderer eksperymentalny jest w trakcie rozwoju. Może działać niestabilnie, nie pokazywać części obiektów albo nie uruchomić się na niektórych kartach graficznych. Gdy symulator nie startuje lub wygląda źle, wróć do renderera „Pełny”.</String>
|
||||
|
||||
<String key="Resolution">Rozdzielczość</String>
|
||||
<String key="BufforResolution">Rozdzielczość bufora</String>
|
||||
|
||||
@@ -367,6 +367,7 @@
|
||||
<String key="RESimp">Упрощённый</String>
|
||||
<String key="REOff">Отключить визуальный слой</String>
|
||||
<String key="REExperimental">Экспериментальный</String>
|
||||
<String key="REExperimentalWarning">Внимание: экспериментальный рендерер находится в разработке. Он может работать нестабильно, не показывать части сцены или не запускаться на некоторых видеокартах. Если симулятор не запускается или выглядит неправильно, вернитесь к рендереру «Полный».</String>
|
||||
|
||||
<String key="Resolution">Разрешение</String>
|
||||
<String key="BufforResolution">Разрешение буфера</String>
|
||||
|
||||
Reference in New Issue
Block a user