ITexture2D Interface Members
The following tables list the members exposed by ITexture2D.
Public Properties
Name | Description | |
---|---|---|
Height | Gets the height of the texture | |
TextureFormat | Gets the texture format for this texture | |
Width | Gets the width of the texture |
Public Methods
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from System.IDisposable) | |
SetData | Sets int[] pixel data on the Texture. Assumes TextureFormats.Bgra8 | |
SetFloatData | Sets int[] pixel data on the Texture. Assumes TextureFormats.Bgra8 |
Extension Methods
Name | Description | |
---|---|---|
SafeDispose | Checks for null and if not null, calls Dispose |
See Also