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

Texture2D Methods

The Texture2D type exposes the following members.

  Name Description
Public method Dispose() Immediately releases the unmanaged resources used by this object. (Inherited from GraphicsResource.)
Protected method Dispose(Boolean) Immediately releases the unmanaged resources used by this object. (Inherited from GraphicsResource.)
Protected method Finalize Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object. (Inherited from GraphicsResource.)
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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.