Set autopause thresholds. Now defaults to automatically on. 500MB VRAM and 175k tris.

This commit is contained in:
Eauldane
2025-08-23 17:45:53 +01:00
parent 702b91b87a
commit d8b306148f

View File

@@ -5,11 +5,11 @@ namespace MareSynchronos.MareConfiguration.Configurations;
public class PlayerPerformanceConfig : IMareConfiguration public class PlayerPerformanceConfig : IMareConfiguration
{ {
public int Version { get; set; } = 1; public int Version { get; set; } = 1;
public bool AutoPausePlayersExceedingThresholds { get; set; } = false; public bool AutoPausePlayersExceedingThresholds { get; set; } = true;
public bool NotifyAutoPauseDirectPairs { get; set; } = true; public bool NotifyAutoPauseDirectPairs { get; set; } = true;
public bool NotifyAutoPauseGroupPairs { get; set; } = false; public bool NotifyAutoPauseGroupPairs { get; set; } = false;
public int VRAMSizeAutoPauseThresholdMiB { get; set; } = 550; public int VRAMSizeAutoPauseThresholdMiB { get; set; } = 500;
public int TrisAutoPauseThresholdThousands { get; set; } = 375; public int TrisAutoPauseThresholdThousands { get; set; } = 175;
public bool IgnoreDirectPairs { get; set; } = true; public bool IgnoreDirectPairs { get; set; } = true;
public TextureShrinkMode TextureShrinkMode { get; set; } = TextureShrinkMode.Default; public TextureShrinkMode TextureShrinkMode { get; set; } = TextureShrinkMode.Default;
public bool TextureShrinkDeleteOriginal { get; set; } = false; public bool TextureShrinkDeleteOriginal { get; set; } = false;