GraphicsDevice.MultiSampleMask Property

Gets or sets a bitmask controlling modification of the samples in a multisample render target. The default value is -1 (0xffffffff).

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


Public MustOverride Property MultiSampleMask As Integer
public abstract int MultiSampleMask { get; set; }

Property Value

Type: System.Int32
A bitmask value controlling write enables for the samples. Each bit in this mask, starting at the least-significant bit, controls modification of one of the samples in a multisample render target. This render state has no effect when rendering to a single sample buffer.

Version Information


Supported in: 5


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