Aracılığıyla paylaş


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)

Syntax

public enum PresentInterval

Members

  Member name Description
Default Equivalent to setting One.
One The 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.
Two The driver waits for the vertical retrace period. Present operations are not affected more frequently than every second screen refresh.
Immediate The 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.

See Also

Reference

PresentationParameters.PresentationInterval Property
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP