Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
StencilMask Property
Collapse the table of content
Expand the table of content

RenderState.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 (in microsoft.xna.framework.dll)

public int StencilMask { get; set; }

Property Value

Value that represents the mask to set or get.

Xbox 360, Windows XP SP2, Windows Vista

© 2015 Microsoft