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

# XGameStreamingVideoFlags

> XGameStreamingVideoFlags

# XGameStreamingVideoFlags

指定支援的視訊相關功能類型。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
enum class XGameStreamingVideoFlags : uint32_t
{
    None = 0x0,
    SupportsCustomAspectRatio = 0x1,
    SupportsPresentScaling = 0x2
}
```

<a id="constantsSection" />

## 常數

| 常數 | 描述 |
| - | - |
| None | 沒有支援的功能。 |
| SupportsCustomAspectRatio | 用戶端支援自訂外觀比例。如果為 false，則用戶端僅支援標準 16:9 解析度。 |
| SupportsPresentScaling | 如果 DirectCapture 支援使用 `D3D12XBOX_PRESENT_PLANE_PARAMETERS.pSrcViewRects` 和 `D3D12XBOX_PRESENT_PLANE_PARAMETERS.pDestPlacementBase` 縮放視訊參數，則為 true。如果此值為 false，請確定呈現解析度與傳遞給 XGameStreamingSetResolution 的解析度相符。 |

<a id="remarksSection" />

## 備註

此列舉用來表示支援哪些視訊相關功能。

<a id="requirementsSection" />

## 需求

**標頭：** XGameStreaming.h

**支援的平台**：Windows、XBOX One 系列主機和 XBOX Series 主機

<a id="seealsoSection" />

## 另請參閱

[XGameStreaming](/zh-TW/reference/system/xgamestreaming/xgamestreaming_members)\
[XGameStreamingDisplayDetails](/zh-TW/reference/system/xgamestreaming/structs/xgamestreamingdisplaydetails)\
[XGameStreamingGetDisplayDetails](/zh-TW/reference/system/xgamestreaming/functions/xgamestreaminggetdisplaydetails)


## Related topics

- [XGameStreamingDisplayDetails](/zh-TW/reference/system/xgamestreaming/structs/xgamestreamingdisplaydetails.md)
- [XGameStreaming](/zh-TW/reference/system/xgamestreaming/xgamestreaming_members.md)
- [D3D12_COMMAND_LIST_SUPPORT_FLAGS](/zh-TW/reference/graphics/d3d12/enums/d3d12_command_list_support_flags_public.md)
- [DirectCapture 概觀](/zh-TW/build/core-features/common/game-streaming/game-streaming-directcapture-overview.md)
- [使用 PIX 進行永續性分析](/zh-TW/build/game-principles/sustainability/sustainability-pix-guide.md)
