Sdílet prostřednictvím


GraphicsDeviceCapabilities.RasterCaps.SupportsDepthBufferTest Property

Gets a value indicating whether the device can perform depth-test operations.

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

Syntax

public bool SupportsDepthBufferTest { get; }

Property Value

true if the device can perform depth-test operations; false otherwise.

Remarks

This effectively renders a primitive and indicates whether any depth pixels have been rendered.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista