Struct EncoderAdapterInfo
- Namespace
- VisioForge.Core.Windows
- Assembly
- VisioForge.Core.dll
Summary of a DXGI-visible graphics adapter relevant to hardware video encoding. Used to pin AMF/QSV/D3D12 encoders to a specific GPU by LUID, and to translate a LUID to a CUDA device ordinal for NVENC. On non-Windows platforms this is empty data.
public readonly struct EncoderAdapterInfoInherited Members
Constructors
EncoderAdapterInfo(long, uint, uint, string, ulong, bool)
Initializes a new instance of the VisioForge.Core.Windows.EncoderAdapterInfo struct.
public EncoderAdapterInfo(long luid, uint vendorId, uint deviceId, string description, ulong dedicatedVideoMemory, bool isSoftware)Parameters
Properties
DedicatedVideoMemory
Dedicated video memory in bytes (0 for iGPUs that use UMA).
public ulong DedicatedVideoMemory { get; }Property Value
Description
Adapter description from DXGI.
public string Description { get; }Property Value
DeviceId
PCI device id.
public uint DeviceId { get; }Property Value
IsSoftware
True for WARP / Microsoft Basic Render Driver.
public bool IsSoftware { get; }Property Value
Luid
Signed DXGI adapter LUID assembled from DXGI_ADAPTER_DESC1.AdapterLuid. Stable until reboot. Value that GStreamer's adapter-luid property accepts.
public long Luid { get; }Property Value
VendorId
PCI vendor id: 0x1002 AMD, 0x10DE NVIDIA, 0x8086 Intel, 0x1414 Microsoft (WARP).
public uint VendorId { get; }