Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Texture3D.SetData Method

Copies array data to the texture.
NameDescription
Texture3D.SetData (Int32, Int32, Int32, Int32, Int32, Int32, Int32, T[], Int32, Int32, SetDataOptions)Copies array data to the texture, specifying the dimensions of the volume and the mipmap level where the data is to be placed.
Texture3D.SetData (T[])Copies array data to the texture at mipmap level 0.
Texture3D.SetData (T[], Int32, Int32, SetDataOptions)Copies array data to the texture at mipmap level 0, specifying the starting index and number of elements to copy.
Exception typeCondition
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)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.