// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved. using FlaxEngine; namespace FlaxEditor.Content.Settings { /// /// The Linux platform settings asset archetype. Allows to edit asset via editor. /// public class LinuxPlatformSettings : SettingsBase { /// /// The default game window mode. /// [EditorOrder(10), EditorDisplay("Window"), Tooltip("The default game window mode.")] public GameWindowMode WindowMode = GameWindowMode.Windowed; /// /// The default game window width (in pixels). /// [EditorOrder(20), EditorDisplay("Window"), Tooltip("The default game window width (in pixels).")] public int ScreenWidth = 1280; /// /// The default game window height (in pixels). /// [EditorOrder(30), EditorDisplay("Window"), Tooltip("The default game window height (in pixels).")] public int ScreenHeight = 720; /// /// Enables resizing the game window by the user. /// [EditorOrder(40), EditorDisplay("Window"), Tooltip("Enables resizing the game window by the user.")] public bool ResizableWindow = false; /// /// Enables game running when application window loses focus. /// [EditorOrder(1010), EditorDisplay("Other", "Run In Background"), Tooltip("Enables game running when application window loses focus.")] public bool RunInBackground = false; /// /// Limits maximum amount of concurrent game instances running to one, otherwise user may launch application more than once. /// [EditorOrder(1020), EditorDisplay("Other"), Tooltip("Limits maximum amount of concurrent game instances running to one, otherwise user may launch application more than once.")] public bool ForceSingleInstance = false; /// /// Custom icon texture to use for the application (overrides the default one). /// [EditorOrder(1030), EditorDisplay("Other"), Tooltip("Custom icon texture to use for the application (overrides the default one).")] public Texture OverrideIcon; /// /// Enables support for Vulkan. Disabling it reduces compiled shaders count. /// [EditorOrder(2020), EditorDisplay("Graphics", "Support Vulkan"), Tooltip("Enables support for Vulkan. Disabling it reduces compiled shaders count.")] public bool SupportVulkan = true; } }