RasterizerState.MultiSampleAntiAlias Property

Enables or disables multisample antialiasing. The default is true.

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

Syntax

public bool MultiSampleAntiAlias { get; set; }

Property Value

true to enable multisample antialiasing; false otherwise.

Remarks

When multisample antialiasing is enabled, full-scene antialiasing is performed by calculating sampling locations at different sample positions for each multiple sample. When disabled, each multiple sample is written with the same sample value (sampled at a pixel center) which allows non-antialiased rendering to a multisample buffer. This property has no effect when rendering to a buffer that does not support multisampling.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP