XNA Game Studio 3.1
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

C#
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

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune
Tags :


Page view tracker