using System;
namespace Unity.PerformanceTesting.Data
{
///
/// Represents player settings of a performance test, sampled at the beginning of a test run.
///
[Serializable]
public class Player
{
///
/// True if the player is a Development build. False if the player is a Release build.
///
[RequiredMember] public bool Development;
///
/// Screen resolution width.
///
[RequiredMember] public int ScreenWidth;
///
/// Screen resolution height.
///
[RequiredMember] public int ScreenHeight;
///
/// Screen refresh rate.
///
[RequiredMember] public int ScreenRefreshRate;
///
/// Whether the player is in fullscreen or windowed modes.
///
[RequiredMember] public bool Fullscreen;
///
/// The number of VSyncs that should pass between each frame. Use 'Don't Sync' (0) to not wait for VSync. Value must be 0, 1, 2, 3, or 4.
///
[RequiredMember] public int Vsync;
///
/// Anti aliasing.
///
[RequiredMember] public int AntiAliasing;
///
/// Whether player is in batchmode or not.
///
[RequiredMember] public bool Batchmode;
///
/// Render threading mode.
///
[RequiredMember] public string RenderThreadingMode;
///
/// Whether GPU skinning is enabled or not.
///
[RequiredMember] public bool GpuSkinning;
///
/// String representation of players RuntimePlatform.
///
[RequiredMember] public string Platform;
///
/// Color space.
///
[RequiredMember] public string ColorSpace;
///
/// Anisotropic filtering.
///
[RequiredMember] public string AnisotropicFiltering;
///
/// Blend weights.
///
[RequiredMember] public string BlendWeights;
///
/// Graphics API.
///
[RequiredMember] public string GraphicsApi;
// strings because their enums are editor only.
///
/// Scripting backend.
///
[RequiredMember] public string ScriptingBackend;
///
/// Android target SDK version.
///
[RequiredMember] public string AndroidTargetSdkVersion;
///
/// Android build system.
///
[RequiredMember] public string AndroidBuildSystem;
///
/// Build target.
///
[RequiredMember] public string BuildTarget;
///
/// Stereo rendering path.
///
[RequiredMember] public string StereoRenderingPath;
}
}