Export (0) Print
Expand All

Texture2D.SetData<T> Method (T[])

Sets 2D texture data.

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics (in Microsoft.Xna.Framework.Graphics.dll)

public void SetData<T>(
	T[] data
)
where T : struct, new()

Type Parameters

T

The type of the elements in the array.

Parameters

data
Type: T[]
Array of data.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft