> ## 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_FRAME_STATISTICS (XBOX One 系列)

> 定義一組畫面格統計資料。

定義一組畫面格統計資料。

## 語法

```cpp theme={null}
typedef struct D3D12XBOX_FRAME_STATISTICS
{
    D3D12XBOX_FRAME_STATISTICS_TYPE Type;

    union
    {
        D3D12XBOX_FRAME_INTERVAL_STATISTICS Interval;
        D3D12XBOX_FRAME_EVENT_STATISTICS Event;
        D3D12XBOX_INPUT_STATISTICS Input;
        D3D12XBOX_RENDER_STATISTICS Render;
        D3D12XBOX_PRESENT_STATISTICS Present;
        D3D12XBOX_DISPLAY_STATISTICS Display;
    };
} D3D12XBOX_FRAME_STATISTICS;
```

### 成員

*Type*\
類型：[D3D12XBOX\_FRAME\_STATISTICS\_TYPE](/zh-TW/reference/graphics/d3d12_x/enums/d3d12xbox_frame_statistics_type)

指定結構中所包含的統計資料類型，以及要存取的聯集成員。

*Interval*\
類型：[D3D12XBOX\_FRAME\_INTERVAL\_STATISTICS](/zh-TW/reference/graphics/d3d12_x/structs/d3d12xbox_frame_interval_statistics)

與為畫面格所建立之間隔相關的統計資料。

*Event*\
類型：[D3D12XBOX\_FRAME\_EVENT\_STATISTICS](/zh-TW/reference/graphics/d3d12_x/structs/d3d12xbox_frame_event_statistics)

與為畫面格所排程之事件相關的統計資料。

*Input*\
類型：[D3D12XBOX\_INPUT\_STATISTICS](/zh-TW/reference/graphics/d3d12_x/structs/d3d12xbox_input_statistics)

與畫面格輸入查詢相關的統計資料。

*Render*\
類型：[D3D12XBOX\_RENDER\_STATISTICS](/zh-TW/reference/graphics/d3d12_x/structs/d3d12xbox_render_statistics)

與畫面格轉譯相關的統計資料。

*Present*\
類型：[D3D12XBOX\_PRESENT\_STATISTICS](/zh-TW/reference/graphics/d3d12_x/structs/d3d12xbox_present_statistics)

與畫面格呈現相關的統計資料。

*Display*\
類型：[D3D12XBOX\_DISPLAY\_STATISTICS](/zh-TW/reference/graphics/d3d12_x/structs/d3d12xbox_display_statistics)

與畫面格顯示相關的統計資料。

## 需求

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

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

## 另請參閱

[ID3D12Device::GetFrameStatisticsX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12device/methods/id3d12device_getframestatisticsx)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [NDA 主题目录 - Microsoft Learn 在线链接](/zh-CN/nda/nda-topic-directory.md)
- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr/nda/nda-topic-directory.md)
- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
