다음을 통해 공유


BlendState.MultiSampleMask Property

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

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)

Syntax

'Declaration
Public Property MultiSampleMask As Integer
public int MultiSampleMask { get; set; }

Property Value

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

Remarks

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?

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.