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 3.8.0.1082)
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
- 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.
Parameters
- data
-
Type: T[]
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web