Share via


GraphicsDeviceManager.SynchronizeWithVerticalRetrace Property

Gets or sets a value that indicates whether to sync to the vertical trace (vsync) when presenting the back buffer.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)

Syntax

public bool SynchronizeWithVerticalRetrace { get; set; }

Property Value

Value that indicates whether to sync to the vertical trace (vsync) when presenting the back buffer.

Remarks

This value is honored (when possible) in full screen and windowed modes.

See Also

Reference

GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP