Partilhar via


GraphicsDeviceCapabilities.StencilCaps.SupportsZero Property

Gets a value indicating whether the device supports setting the stencil-buffer entry to 0.

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

Syntax

public bool SupportsZero { get; }

Property Value

true if the device supports setting the stencil-buffer entry to 0; false otherwise.

See Also

Reference

GraphicsDeviceCapabilities.StencilCaps Structure
GraphicsDeviceCapabilities.StencilCaps Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista