Sdílet prostřednictvím


RenderState.StencilEnable Property

Gets or sets stencil enabling. The default is false.

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

Syntax

public bool StencilEnable { get; set; }

Property Value

true if stenciling is enabled; false otherwise.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista