XAppCaptureVideoCaptureSettings

GameDVR 视频捕获设置,从调用 XAppCaptureGetVideoCaptureSettings 获取。

语法

struct XAppCaptureVideoCaptureSettings {
  uint32_t width;
  uint32_t height;
  uint64_t maxRecordTimespanDurationInMs;
  XAppCaptureVideoEncoding encoding;
  XAppCaptureVideoColorFormat colorFormat;
  bool isCaptureByGamesAllowed;
}

成员

width
类型:uint32_t

录制的宽度。

height
类型:uint32_t

录制的高度。

maxRecordTimespanDurationInMs
类型:uint64_t

最大录制持续时间(以毫秒为单位)。

encoding
类型:XAppCaptureVideoEncoding

录制的编码。

colorFormat
类型:XAppCaptureVideoColorFormat

录制的颜色格式。

isCaptureByGamesAllowed
类型:bool

指示是否允许游戏捕获录制。

要求

头文件:XAppCapture.h

支持平台:Windows、Xbox One 系列主机和 Xbox Series 主机

另请参阅

XAppCapture 成员