Files
osu-framework/osu.Framework/Configuration/FrameSync.cs
2024-12-04 06:04:03 -05:00

28 lines
698 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
namespace osu.Framework.Configuration
{
// todo: revisit when we have a way to exclude enum members from naming rules
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum FrameSync
{
VSync,
[Description("2x refresh rate")]
Limit2x,
[Description("4x refresh rate")]
Limit4x,
[Description("8x refresh rate")]
Limit8x,
[Description("Basically unlimited")]
Unlimited,
}
}