DisplayPresentationRate 结构

定义

描述由合理刷新率和分隔符组成的总体呈现速率。

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
struct DisplayPresentationRate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public struct DisplayPresentationRate
var displayPresentationRate = {
verticalSyncRate : /* Your value */,
verticalSyncsPerPresentation : /* Your value */
}
Public Structure DisplayPresentationRate
继承
DisplayPresentationRate
属性

Windows 要求

设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)

字段

VerticalSyncRate

刷新率(也称为垂直同步速率)控制显示管道扫描到目标的频率。 此速率以 Hertz (Hz) 表示,并存储为由两部分构成的有理数。

VerticalSyncsPerPresentation

指定一个整数分隔线,以纵向同步的一小部分来缩减全屏演示的速率。 例如,如果将 VerticalSyncsPerPresentation 设置为 2,则一个全屏演示文稿将持续 2 次垂直同步,然后才能进行下一次演示。 对 1 以外的值的支持需要硬件支持。

适用于