Export (0) Print
Expand All

PresentationParameters.BackBufferCount Property

Gets or sets a value specifying how many back buffers to create.

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

public int BackBufferCount { get; set; }

Property Value

The number of back buffers to create. Can be 0, 1, 2, or 3. 0 is considered 1.

When an instance of this class is returned from a method (for example, the GraphicsDevice constructor), BackBufferCount is set to the number of back buffers that can be created. For that reason, an application can call the method twice and expect the second call to successfully create back buffers.

SwapEffect.Copy requires exactly one back buffer.

Xbox 360, Windows XP SP2, Windows Vista

Show:
© 2014 Microsoft