DepthStencilState.StencilWriteMask Property
XNA Game Studio 4.0
Gets or sets the write mask applied to values written into the stencil buffer. The default mask is Int32.MaxValue.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)