SdkGpuInfo
public sealed record SdkGpuInfo : IEquatable<SdkGpuInfo>
The GPU the SDK would use, or the reason there is not one.
Process-wide, and answerable with no camera attached -- which is the question an About page asks. The SDK keeps one shared GPU context for every camera, so there is exactly one answer here however many cameras are open.
SdkGpuInfo: properties
public string Adapter { get; }
The adapter's name. Empty when unavailable.
public string Api { get; }
"D3D12", "Vulkan",... Empty when unavailable.
public bool Available { get; }
Whether a usable adapter was found. A software-only adapter counts as unusable and says so in SdkGpuInfo.UnavailableReason.
public bool CompiledWithGpu { get; }
Whether this build of the SDK has GPU support compiled in at all. false means every camera runs on the CPU pipeline and no adapter is ever looked for.
public uint DeviceId { get; }
PCI device id, or zero.
public string DriverName { get; }
The driver's own name, where it reports one. Empty otherwise: D3D12 reports a version and no name at all.
public string DriverVersion { get; }
The driver's version, where it reports one. Empty otherwise. Free-form: "32.0.16.1692" on D3D12.
Usually the first thing a support engineer asks for, which is why it is reported rather than dropped now that it no longer occupies SdkGpuInfo.Vendor.
public bool IsSoftware { get; }
Whether the adapter is a software rasteriser.
public string UnavailableReason { get; }
Why there is no GPU, when there is not. Empty when SdkGpuInfo.Available.
This is the text that used to exist only as an error-level log line at startup: "No suitable GPU adapter found", "Only a software GPU adapter is available; using the CPU pipeline instead", and the rest.
public string Vendor { get; }
The vendor's name, derived from SdkGpuInfo.VendorId. Empty for a PCI vendor id the SDK has no name for, and empty when unavailable.
In earlier releases this carried the string the graphics layer reports as the "vendor", which is really its driver field: on D3D12 it held the display driver's version ("32.0.16.1692" was measured on an NVIDIA RTX 2000 Ada), and on Vulkan the driver's name, which is not always the vendor's. The driver's own strings are in SdkGpuInfo.DriverName and SdkGpuInfo.DriverVersion.
public uint VendorId { get; }
PCI vendor id, or zero.