Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Texture2D.SetData Method

Sets data to the texture.

NameDescription
Texture2D.SetData (Int32, Nullable<Rectangle>, T[], Int32, Int32)Sets 2D texture data, specifying a mipmap level, source rectangle, start index, and number of elements.
Texture2D.SetData (T[])Sets 2D texture data.
Texture2D.SetData (T[], Int32, Int32)Sets 2D texture data, specifying a start index, and number of elements.

Community Additions

Show:
© 2017 Microsoft