> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DXGI_ADAPTER_DESC2 (XBOX Series consoles)

> Describes an adapter (or video card) using DXGI 1.2.

Describes an adapter (or video card).

## Syntax

```cpp theme={null}
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*<br />Type: WCHAR\[128]

A string that contains the adapter description. On feature level 9 graphics hardware, GetDesc2 returns "Software Adapter" for the description string.

*VendorId*<br />Type: UINT

The PCI ID of the hardware vendor. On feature level 9 graphics hardware, GetDesc2 returns zeros for the PCI ID of the hardware vendor.

*DeviceId*<br />Type: UINT

The PCI ID of the hardware device. On feature level 9 graphics hardware, GetDesc2 returns zeros for the PCI ID of the hardware device.

*SubSysId*<br />Type: UINT

The PCI ID of the sub system. On feature level 9 graphics hardware, GetDesc2 returns zeros for the PCI ID of the sub system.

*Revision*<br />Type: UINT

The PCI ID of the revision number of the adapter. On feature level 9 graphics hardware, GetDesc1 returns zeros for the PCI ID of the revision number of the adapter.

*DedicatedVideoMemory*<br />Type: SIZE\_T

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

*DedicatedSystemMemory*<br />Type: SIZE\_T

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*<br />Type: SIZE\_T

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*<br />Type: LUID

A unique value that identifies the adapter. See [LUID](https://learn.microsoft.com/en-us/previous-versions/windows/hardware/drivers/ff549708\(v=vs.85\)) for a definition of the structure. LUID is defined in dxgi.h.

*Flags*<br />Type: UINT

A value of the DXGI\_ADAPTER\_FLAG enumerated type that describes the adapter type. The DXGI\_ADAPTER\_FLAG\_REMOTE flag is reserved.

*GraphicsPreemptionGranularity*<br />Type: DXGI\_GRAPHICS\_PREEMPTION\_GRANULARITY

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*<br />Type: DXGI\_COMPUTE\_PREEMPTION\_GRANULARITY

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](/reference/graphics/d3d12_xs/interfaces/IDXGIAdapter2/methods/idxgiadapter2_getdesc2) method.

## Requirements

**Header:** d3d12\_xs.h<br />**Supported Platforms**: XBOX Series consoles

## See also

[d3d12\_xs](/reference/graphics/d3d12_xs/d3d12_xs_members)


## Related topics

- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [RSSetShadingRateImage (XBOX Series consoles)](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist5/methods/id3d12graphicscommandlist5_rssetshadingrateimage_public.md)
- [GetAdapterLuid](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getadapterluid_public.md)
- [CreateMetaCommand (XBOX Series consoles)](/reference/graphics/d3d12/interfaces/id3d12device5/methods/id3d12device5_createmetacommand_public.md)
- [ID3D12Device5 (XBOX Series consoles)](/reference/graphics/d3d12/interfaces/id3d12device5/id3d12device5_public.md)
