Compartilhar via


XGameStreamingVideoFlags

Specifies the types of video related features supported.

Syntax

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

Constants

Constant Description
None No supported features.
SupportsCustomAspectRatio The client supports custom aspect ratios. If false then the client only supports standard 16:9 resolutions.
SupportsPresentScaling True if using D3D12XBOX_PRESENT_PLANE_PARAMETERS.pSrcViewRects and D3D12XBOX_PRESENT_PLANE_PARAMETERS.pDestPlacementBase to scale video parameters is supported by DirectCapture. If this is false, ensure the present resolution matches the resolution passed to XGameStreamingSetResolution.

Remarks

This enumeration is used to signify which video related features are supported.

Requirements

Header: XGameStreaming.h

Supported Platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XGameStreaming
XGameStreamingDisplayDetails
XGameStreamingGetDisplayDetails