Describes an adapter (or video card) that uses Microsoft DirectX Graphics Infrastructure (DXGI) 1.2.
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;
Description
A string that contains the adapter description.
VendorId
The PCI ID of the hardware vendor.
DeviceId
The PCI ID of the hardware device.
SubSysId
The PCI ID of the sub system.
Revision
The PCI ID of the revision number of the adapter.
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.
The DXGI_ADAPTER_DESC2 structure provides a DXGI 1.2 description of an adapter. This structure is initialized by using the IDXGIAdapter2::GetDesc2 method.
Header: Declared in d3d11_x.h or dxgi1_2.h.