DXGI_ADAPTER_DESC2 structure (dxgi1_2.h)

Describes an adapter (or video card) that uses Microsoft DirectX Graphics Infrastructure (DXGI) 1.2.

Syntax

typedef struct DXGI_ADAPTER_DESC2 {
  WCHAR                                Description[128];
  UINT                                 VendorId;
  UINT                                 DeviceId;
  UINT                                 SubSysId;
  UINT                                 Revision;
  SIZE_T                               DedicatedVideoMemory;
  SIZE_T                               DedicatedSystemMemory;
  SIZE_T                               SharedSystemMemory;
  LUID                                 AdapterLuid;
  UINT                                 Flags;
  DXGI_GRAPHICS_PREEMPTION_GRANULARITY GraphicsPreemptionGranularity;
  DXGI_COMPUTE_PREEMPTION_GRANULARITY  ComputePreemptionGranularity;
} DXGI_ADAPTER_DESC2;

Members

Description[128]

A string that contains the adapter description.

VendorId

The PCI ID or ACPI ID of the adapter's hardware vendor. If this value is less than or equal to 0xFFFF, it is a PCI ID; otherwise, it is an ACPI ID.

DeviceId

The PCI ID or ACPI ID of the adapter's hardware device. If VendorId is a PCI ID, it is also a PCI ID; otherwise, it is an ACPI ID.

SubSysId

The PCI ID or ACPI ID of the adapter's hardware subsystem. If VendorId is a PCI ID, it is also a PCI ID; otherwise, it is an ACPI ID.

Revision

The adapter's PCI or ACPI revision number. If VendorId is a PCI ID, it is a PCI device revision number; otherwise, it is an ACPI device revision number.

DedicatedVideoMemory

The number of bytes of dedicated video memory that are not shared with the CPU.

DedicatedSystemMemory

The number of bytes of dedicated system memory that are not shared with the CPU. This memory is allocated from available system memory at boot time.

SharedSystemMemory

The number of bytes of shared system memory. This is the maximum value of system memory that may be consumed by the adapter during operation. Any incidental memory consumed by the driver as it manages and uses video memory is additional.

AdapterLuid

A unique value that identifies the adapter. See LUID for a definition of the structure. LUID is defined in dxgi.h.

Flags

A value of the DXGI_ADAPTER_FLAG enumerated type that describes the adapter type. The DXGI_ADAPTER_FLAG_REMOTE flag is reserved.

GraphicsPreemptionGranularity

A value of the DXGI_GRAPHICS_PREEMPTION_GRANULARITY enumerated type that describes the granularity level at which the GPU can be preempted from performing its current graphics rendering task.

ComputePreemptionGranularity

A value of the DXGI_COMPUTE_PREEMPTION_GRANULARITY enumerated type that describes the granularity level at which the GPU can be preempted from performing its current compute task.

Remarks

The DXGI_ADAPTER_DESC2 structure provides a DXGI 1.2 description of an adapter. This structure is initialized by using the IDXGIAdapter2::GetDesc2 method.

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Header dxgi1_2.h

See also

DXGI Structures

IDXGIAdapter2::GetDesc2