次の方法で共有


RenderState.StencilWriteMask Property

Gets or sets the write mask applied to values written into the stencil buffer. The default mask is Int32.MaxValue.

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

Syntax

public int StencilWriteMask { get; set; }

Property Value

Value that represents the write mask to set or get.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista