mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-15 03:20:30 +00:00
28 lines
698 B
C#
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,
|
|
}
|
|
}
|