Share via


DepthStencilState Constructor

Creates an instance of DepthStencilState with default values.

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

Syntax

public DepthStencilState ()

Exceptions

Exception type Condition
OutOfMemoryException There is not enough memory to create this resource.

See Also

Reference

DepthStencilState Class
DepthStencilState Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP