Share via


GraphicsDeviceManager.PreferMultiSampling Property

Gets or sets a value that indicates whether to enable a multisampled back buffer.

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

Syntax

public bool PreferMultiSampling { get; set; }

Property Value

Value indicating whether multisampling is enabled on the back buffer.

Remarks

PreferMultiSampling is ignored if no hardware is available that supports multisampling.

See Also

Reference

GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP