次の方法で共有


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)

Syntax

public bool MultiSampleAntiAlias { get; set; }

Property Value

true to enable multisample antialiasing; false otherwise.

Remarks

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.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista