Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Texture2D.SetData Method

Sets data to the texture.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

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

Community Additions

ADD
Show:
© 2015 Microsoft