次の方法で共有


RenderState.StencilPass Property

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

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

Syntax

public StencilOperation StencilPass { get; set; }

Property Value

The stencil operation to perform.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista