BlendState.MultiSampleMask Property

Gets or sets a bitmask which defines which samples can be written during multisampling. The default is 0xffffffff.

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

public int MultiSampleMask { get; set; }

Property Value

Type: System.Int32
A bitmask which defines multisample write locations.

Each bit enables writing to a multisample location. As an example, the first 8 bits enable the first eight samples for an 8-sample render target. The mask has no effect when not multisampling.

For more information about blending, see What Is Color Blending?


Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions