Share via


SharedGraphicsDeviceManager.PreferredBackBufferFormat Property

Note

This property is available only when developing for Windows Phone.

Gets or sets the format of the back buffer.

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

Syntax

public SurfaceFormat PreferredBackBufferFormat { get; set; }

Property Value

The format of the back buffer.

Exceptions

Exception type Condition
ArgumentOutOfRangeException

The BackBufferFormat requested is invalid. Use one of the following:

See Also

Reference

SharedGraphicsDeviceManager Class
SharedGraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone