コード例 #1
0
        public static string GetGFXPresetName(NativeOptions.ConfigQuality presetIndex)
        {
            switch (presetIndex)
            {
            case NativeOptions.ConfigQuality.GFXVeryLow:
                return("1");

            case NativeOptions.ConfigQuality.GFXLow:
                return("2");

            case NativeOptions.ConfigQuality.GFXMedium:
                return("3");

            case NativeOptions.ConfigQuality.GFXHigh:
                return("4");

            case NativeOptions.ConfigQuality.GFXVeryHigh:
                return("5");

            case NativeOptions.ConfigQuality.GFXCustom:
                return("Custom");

            default:
                return("Unknown");
            }
        }
コード例 #2
0
 public static bool IsGFXOptionChangeable(NativeOptions.ConfigQuality config) => config < NativeOptions.ConfigQuality.GFXCustom;