Texture2D Class Methods
For a list of all members of this type, see Texture2D members.
Public Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. Releases unmanaged and - optionally - managed resources. | |
FromArgb | Creates a Texture2D from ARGB format uint array | |
FromBytes | Creates a Texture2D from byte array | |
FromWriteableBitmap | Creates a Texture2D from WPF System.Windows.Media.Imaging.WriteableBitmap | |
WritePixels | Overloaded. Writes float[] data into the texture. The TextureFormat must be a floating point format |
Protected Methods
Name | Description | |
---|---|---|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
Extension Methods
Name | Description | |
---|---|---|
DebugFinalizer<T> | Notifies that finalizer has been invoked | |
SafeDispose | Checks for null and if not null, calls Dispose | |
ToDoubleArray | Overloaded. Converts an System.IComparable array to double array | |
ToEnumerable<T> | Yields a single item, converting it to System.Collections.IEnumerable. | |
ToStringArray2D<T> |
See Also