Condividi tramite


GraphicsDevice.MultiSampleMask Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
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

Silverlight

Supported in: 5

Platforms

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