Properties  Methods 


Texture2D Class Members

The following tables list the members exposed by Texture2D.

Public Constructors
 NameDescription
Public ConstructorInitializes a new instance of the Texture2D class.  
Top
Public Properties
 NameDescription
Public Property Gets the height of the texture  
Public PropertyGets the TextureFormat  
Public Property Gets the width of the texture  
Top
Public Methods
 NameDescription
Public MethodOverloaded.  Releases unmanaged and - optionally - managed resources.  
Public Methodstatic (Shared in Visual Basic)Creates a Texture2D from ARGB format uint array  
Public Methodstatic (Shared in Visual Basic)Creates a Texture2D from byte array  
Public Methodstatic (Shared in Visual Basic)Creates a Texture2D from WPF System.Windows.Media.Imaging.WriteableBitmap  
Public MethodOverloaded. Writes float[] data into the texture. The TextureFormat must be a floating point format  
Top
Protected Methods
 NameDescription
Protected MethodAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.  
Top
Extension Methods
 NameDescription
Public Extension Method Notifies that finalizer has been invoked
Public Extension Method Checks for null and if not null, calls Dispose
Public Extension MethodOverloaded. Converts an System.IComparable array to double array
Public Extension MethodYields a single item, converting it to System.Collections.IEnumerable.
Public Extension Method
Top
See Also