wip : shader prewarm & fps control
This commit is contained in:
@@ -262,6 +262,18 @@ namespace OctoCore
|
||||
public FadeTransitionSettings FadeSettings = new FadeTransitionSettings();
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class ApplicationSettings
|
||||
{
|
||||
[Tooltip("Target frame rate (-1 = unlimited)")]
|
||||
public int TargetFrameRate = 120;
|
||||
|
||||
[Tooltip("0 = no vsync, 1 = every vblank, 2 = every second vblank")]
|
||||
public int VSyncCount = 0;
|
||||
}
|
||||
|
||||
public ApplicationSettings Application;
|
||||
|
||||
/// <summary>
|
||||
/// Save system settings.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user