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

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.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show: