PresentationParameters.BackBufferFormat Property
Gets or sets the format of the back buffer.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public SurfaceFormat BackBufferFormat { get; set; }
Property Value
The format of the back buffer.
Remarks
For windowed applications, the back-buffer format no longer needs to match the display-mode format because color conversion can now be done by the hardware (if the hardware supports color conversion). The set of possible back-buffer formats is constrained, but the runtime will allow any valid back-buffer format to be presented to any desktop format. (There is the additional requirement that the device be operable in the desktop mode; devices typically do not operate in 8-bits-per-pixel modes.)
Full screen applications cannot do color conversion.
Warning
In cases where the size of the back buffer and depth stencil buffer exceed the size of the Xbox 360 10 MB of embedded memory (EDRAM), predicated tiling is utilized on this platform to compensate for the additional memory requirements. Predicated tiling is a process by which scene rendering is performed multiple times on subsections of the final render target dimensions. The format of the back buffer chosen with the BackBufferFormat property directly affects the size of the back buffer and may trigger predicated tiling.
See Also
Concepts
Reference
PresentationParameters Class
PresentationParameters Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista