GraphicsDevice.GetBackBufferData Generic Method (T , Int32, Int32)

Gets the contents of the back buffer.

Syntax

'Declaration
Public Sub GetBackBufferData(Of T As Struct) ( _
         data As T(), _
         startIndex As Integer, _
         elementCount As Integer _
)
public void GetBackBufferData<T> (
         T[] data,
         int startIndex,
         int elementCount
) where T : struct
public:
generic<typename T> where T : struct
void GetBackBufferData(
         T data[],
         int startIndex,
         int elementCount
)

Type Parameters

  • T
    The type of the elements in the array.

Parameters

  • data
    Type: T
    Array of data.
  • startIndex
    Type: Int32
    The first element to use.
  • elementCount
    Type: Int32
    The number of elements to use.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

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

See Also

Reference

GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows Phone