Sdílet prostřednictvím


RenderState.ReferenceStencil Property

Specifies a reference value to use for the stencil test. The default is 0.

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

Syntax

public int ReferenceStencil { get; set; }

Property Value

Integer that specifies the stencil test value to set or get.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista