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

# D3D12XBOX_GPU_HARDWARE_CONFIGURATION (XBOX One 系列)

> 包含 GPU 時脈頻率。

包含 GPU 時脈頻率和硬體設定。

## 語法

```cpp theme={null}
typedef struct D3D12XBOX_GPU_HARDWARE_CONFIGURATION {  
    UINT64 GpuFrequency;  
    D3D12XBOX_HARDWARE_VERSION HardwareVersion;  
    UINT32 GpuCuCount;  
} D3D12XBOX_GPU_HARDWARE_CONFIGURATION  
```

### 成員

*GpuFrequency*\
類型：UINT64

GPU 時脈頻率 (以赫茲為單位)。

*HardwareVersion*\
類型：[D3D12XBOX\_HARDWARE\_VERSION](/zh-TW/reference/graphics/d3d12_x/enums/d3d12xbox_hardware_version)

XBOX 硬體版本。請參閱 **D3D12XBOX\_HARDWARE\_VERSION**。

*GpuCuCount*\
類型：UINT32

遊戲可用的 GPU 計算單元 (CU) 數目。

## 備註

[GetGpuHardwareConfigurationX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12device/methods/id3d12device_getgpuhardwareconfigurationx) 會使用此結構。

*GpuFrequency* 和 *GpuCuCount* 值僅供參考。請只在開發期間使用它們來測量和計算效能計數器，而不要用來控制或變更遊戲的行為。例如，請勿將它們當作判斷遊戲執行所在硬體的準則；使用 **HardwareVersion** 值和 **GetConsoleType** API，才是檢查不同硬體類型以及控制需要處理不同硬體設定之遊戲邏輯的正確方式。

## 需求

**標頭：** d3d12\_x.h

**支援的平台：** XBOX One 系列

## 另請參閱

[d3d12\_x](/zh-TW/reference/graphics/d3d12_x/d3d12_x_members)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
- [Directorio de temas NDA: enlaces activos a Microsoft Learn](/es/nda/nda-topic-directory.md)
- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr/nda/nda-topic-directory.md)
