Share via


DisplayPresentationRate Struct

Definition

Describes an overall presentation rate composed of a rational refresh rate and a divider.

/// [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
Inheritance
DisplayPresentationRate
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Fields

VerticalSyncRate

The refresh rate, also known as vertical sync rate, which controls how often the display pipeline scans out to a target. This rate is represented in Hertz (Hz) and stored as a two-part rational number.

VerticalSyncsPerPresentation

Specifies an integer divider to scale down the rate of full-screen presentations as a fraction of vertical syncs. For example, if VerticalSyncsPerPresentation is set to 2, then one full-screen presentation will last for 2 vertical syncs before the next presentation can occur. Support for values other than 1 requires hardware support.

Applies to