DepthStencilState.StencilMask Property

Gets or sets the mask applied to the reference value and each stencil buffer entry to determine the significant bits for the stencil test. The default mask is Int32.MaxValue.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

public int StencilMask { get; set; }

Property Value

Value that represents the mask to set or get.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show: