Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

RenderState.MultiSampleAntiAlias Property

Enables or disables multisample antialiasing. The default is true.

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

public bool MultiSampleAntiAlias { get; set; }

Property Value

true to enable multisample antialiasing; false otherwise.

When multisample antialiasing is enabled, the multiple samples are computed so that full-scene antialiasing is performed by sampling at different sample positions for each multiple sample. When disabled, the multiple samples are all written with the same sample value, sampled at the pixel center, which allows non-antialiased rendering to a multisample buffer. This render state has no effect when rendering to a single sample buffer.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

© 2015 Microsoft