Bagikan melalui


SharedGraphicsDeviceManager.PresentationInterval Property

Note

This property is available only when developing for Windows Phone.

Gets or sets the maximum rate at which the swap chain's back buffers can be presented to the front buffer.

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

Syntax

public DepthFormat PresentationInterval { 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