SharedGraphicsDeviceManager.PreferredBackBufferFormat Property

Gets or sets the format of the back buffer.

Syntax

'Declaration
Public Property PreferredBackBufferFormat As SurfaceFormat 
public SurfaceFormat PreferredBackBufferFormat { get; set; }
public:
property SurfaceFormat PreferredBackBufferFormat {
         SurfaceFormat get ();
         void set (SurfaceFormat value);
}

Property Value

Type: SurfaceFormat
The format of the back buffer.

Exceptions

Exception type Condition
ArgumentOutOfRangeException

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

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

SharedGraphicsDeviceManager Class
SharedGraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone