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

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

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

## 語法

```cpp theme={null}
typedef struct D3D12XBOX_DISPLAY_STATISTICS
{
    UINT8 PlaneIndex;
    UINT64 VSyncTime;
    UINT64 FlipTime;
    FLOAT PercentScanned;
} D3D12XBOX_DISPLAY_STATISTICS;
```

### 成員

*PlaneIndex*\
類型: UINT8

顯示畫面格時使用的平面索引。[PresentX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12commandqueue/methods/id3d12commandqueue_presentx) 呼叫中包含的每個平面都會回報不同的顯示統計資料。

*VSyncTime*\
類型: UINT64

對應於或早於畫面格輸出至顯示器之 VSync 的時間 (以 *QueryPerformanceCounter* 為基礎的時間戳記)。

*FlipTime*\
類型: UINT64

畫面格顯示以供檢視的時間：也就是翻轉的時間。

*PercentScanned*\
類型: FLOAT

驅動程式翻轉至此畫面格時，前一個畫面格已掃描的百分比 (如果有的話)。

## 備註

您可以分析傳回的畫面格統計資料，作為更新既定畫面格節流點的依據，目標是將從控制器輸入到顯示的延遲降至最低。

[GetFrameStatisticsX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12device/methods/id3d12device_getframestatisticsx) 會傳回此結構。

## 需求

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

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

## 另請參閱

[D3D12XBOX\_FRAME\_STATISTICS](/zh-TW/reference/graphics/d3d12_x/structs/d3d12xbox_frame_statistics)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [D3D12_QUERY_DATA_PIPELINE_STATISTICS](/zh-TW/reference/graphics/d3d12/structs/d3d12_query_data_pipeline_statistics_public.md)
- [D3D12_QUERY_DATA_SO_STATISTICS](/zh-TW/reference/graphics/d3d12/structs/d3d12_query_data_so_statistics_public.md)
- [ID3D12Object](/zh-TW/reference/graphics/d3d12/interfaces/id3d12object/id3d12object_public.md)
- [D3D12_FEATURE_DATA_D3D12_OPTIONS](/zh-TW/reference/graphics/d3d12/structs/d3d12_feature_data_d3d12_options_public.md)
