Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PresentInterval Enumeration

Defines flags that describe the relationship between the adapter refresh rate and the rate at which Present operations are completed.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

public enum PresentInterval

 Member nameDescription
DefaultEquivalent to setting One.
OneThe driver waits for the vertical retrace period (the runtime will beam trace to prevent tearing). Present operations are not affected more frequently than the screen refresh rate; the runtime completes one Present operation per adapter refresh period, at most. This option is always available for both windowed and full-screen swap chains.
TwoThe driver waits for the vertical retrace period. Present operations are not affected more frequently than every second screen refresh.
ImmediateThe runtime updates the window client area immediately, and might do so more than once during the adapter refresh period. Present operations might be affected immediately. This option is always available for both windowed and full-screen swap chains.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

Show:
© 2017 Microsoft