This topic has not yet been rated - Rate this topic

Texture2D.SetData Method

Copies array data to the texture.
Name Description
Texture2D.SetData (Int32, Nullable<Rectangle>, T[], Int32, Int32, SetDataOptions) Copies array data to the texture.
Texture2D.SetData (T[]) Copies array data to the texture at mipmap level 0.
Texture2D.SetData (T[], Int32, Int32, SetDataOptions) Copies array data to the texture at mipmap level 0.
Exception type Condition
InvalidOperationException The size of the data passed in is too large or too small for this resource.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ