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)

Syntax

public int MultiSampleMask { get; set; }

Property Value

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.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP