Gets or sets the format of the back buffer.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.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
GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP