Export (0) Print
Expand All

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

Community Additions

ADD
Show:
© 2015 Microsoft