Share via


RenderState.StencilFail Property

Gets or sets the stencil operation to perform if the stencil test fails. The default is StencilOperation.Keep.

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

Syntax

public StencilOperation StencilFail { get; set; }

Property Value

The stencil operation to perform.

See Also

Reference

RenderState Class
RenderState Members
StencilEnable
StencilFunction
StencilMask
StencilWriteMask
ReferenceStencil
StencilPass
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista