Sdílet prostřednictvím


PresentationParameters.FullScreenRefreshRateInHz Property

Gets or sets a value indicating the rate at which the display adapter will refresh the screen.

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

Syntax

public int FullScreenRefreshRateInHz { get; set; }

Property Value

The refresh rate in hertz, or 0 in windowed mode.

Remarks

For full screen mode, the refresh rate must be one of the refresh rates found in SupportedDisplayModes.

See Also

Reference

PresentationParameters Class
PresentationParameters Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista