Bagikan melalui


SharedGraphicsDeviceManager.PreferredDepthStencilFormat Property

Note

This property is available only when developing for Windows Phone.

Gets or sets the format of the depth stencil.

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

Syntax

public DepthFormat PreferredDepthStencilFormat { get; set; }

Property Value

The format of the depth stencil.

Exceptions

Exception type Condition
ArgumentOutOfRangeException

The DepthStencilFormat requested is an invalid format. Use one of the following:

See Also

Reference

SharedGraphicsDeviceManager Class
SharedGraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone