GraphicsDevice.GetBackBufferData<T> Method (Microsoft.Xna.Framework.Graphics)

Gets the Pixel data of what is currently drawn on screen. The format is whatever the current format of the backbuffer is.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public void GetBackBufferData<T>(
	T[] data
) where T : ValueType, new()

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: T[]
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop