// Copyright © 2020 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp.DevTools.SystemInfo { /// /// Describes a single graphics processor (GPU). /// [System.Runtime.Serialization.DataContractAttribute] public class GPUDevice : CefSharp.DevTools.DevToolsDomainEntityBase { /// /// PCI ID of the GPU vendor, if available; 0 otherwise. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("vendorId"), IsRequired = (true))] public long VendorId { get; set; } /// /// PCI ID of the GPU device, if available; 0 otherwise. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("deviceId"), IsRequired = (true))] public long DeviceId { get; set; } /// /// Sub sys ID of the GPU, only available on Windows. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("subSysId"), IsRequired = (false))] public long? SubSysId { get; set; } /// /// Revision of the GPU, only available on Windows. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("revision"), IsRequired = (false))] public long? Revision { get; set; } /// /// String description of the GPU vendor, if the PCI ID is not available. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("vendorString"), IsRequired = (true))] public string VendorString { get; set; } /// /// String description of the GPU device, if the PCI ID is not available. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("deviceString"), IsRequired = (true))] public string DeviceString { get; set; } /// /// String description of the GPU driver vendor. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("driverVendor"), IsRequired = (true))] public string DriverVendor { get; set; } /// /// String description of the GPU driver version. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("driverVersion"), IsRequired = (true))] public string DriverVersion { get; set; } } }