Export (0) Print
Expand All

Texture2D.SetData Generic Method (T[], Int32, Int32)

XNA Game Studio 4.0
Sets 2D texture data, specifying a start index, and number of elements.

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

public void SetData<T> (
         T[] data,
         int startIndex,
         int elementCount
) where T : ValueType

Type Parameters

T
The type of the elements in the array.

Parameters

data
Array of data.
startIndex
Index of the first element to set.
elementCount
Number of elements to set.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7

Community Additions

ADD
Show:
© 2014 Microsoft