> ## 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.

# D3D12_FEATURE_DATA_FEATURE_LEVELS

> 描述目前圖形驅動程式所支援之功能層級的相關資訊。

描述目前圖形驅動程式所支援之[功能層級](https://learn.microsoft.com/en-us/windows/desktop/direct3d11/overviews-direct3d-11-devices-downlevel-intro)的相關資訊。

## 語法

```cpp theme={null}
typedef struct D3D12_FEATURE_DATA_FEATURE_LEVELS
{
    UINT NumFeatureLevels;
    const D3D_FEATURE_LEVEL  pFeatureLevelsRequested;
    D3D_FEATURE_LEVEL MaxSupportedFeatureLevel;
} D3D12_FEATURE_DATA_FEATURE_LEVELS
```

### 成員

*NumFeatureLevels*\
類型：UINT

**pFeatureLevelsRequested** 陣列中的[功能層級](https://learn.microsoft.com/en-us/windows/desktop/direct3d11/overviews-direct3d-11-devices-downlevel-intro)數目。

*pFeatureLevelsRequested*\
類型：const D3D\_FEATURE\_LEVEL \*

指向應用程式要求驅動程式和硬體評估之 [D3D\_FEATURE\_LEVEL](https://learn.microsoft.com/en-us/windows/desktop/api/d3dcommon/ne-d3dcommon-d3d_feature_level) 陣列的指標。

*MaxSupportedFeatureLevel*\
類型：D3D\_FEATURE\_LEVEL

驅動程式和硬體支援的最高[功能層級](https://learn.microsoft.com/en-us/windows/desktop/direct3d11/overviews-direct3d-11-devices-downlevel-intro)。

## 備註

請參閱 [D3D12\_FEATURE](/zh-TW/reference/graphics/d3d12/enums/d3d12_feature_public)。

## 需求

**標頭:** d3d12\_xs.h 或 d3d12\_x.h\
**程式庫:** d3d12\_xs.lib 或 d3d12\_x.lib\
**支援的平台**: XBOX Series 主機與 XBOX One 系列

## 另請參閱

[核心結構](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)

[D3D12\_FEATURE](/zh-TW/reference/graphics/d3d12/enums/d3d12_feature_public)


## Related topics

- [D3D12_FEATURE](/zh-TW/reference/graphics/d3d12/enums/d3d12_feature_public.md)
- [D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS](/zh-TW/reference/graphics/d3d12/structs/d3d12_feature_data_multisample_quality_levels_public.md)
- [D3D12_FEATURE_DATA_D3D12_OPTIONS5](/zh-TW/reference/graphics/d3d12/structs/d3d12_feature_data_d3d12_options5_public.md)
- [D3D12_FEATURE_DATA_D3D12_OPTIONS](/zh-TW/reference/graphics/d3d12/structs/d3d12_feature_data_d3d12_options_public.md)
- [D3D12_FEATURE_DATA_ARCHITECTURE](/zh-TW/reference/graphics/d3d12/structs/d3d12_feature_data_architecture_public.md)
