WPF Charting Documentation - SciChart WPF Charts SDK v5.x
Texture2D Class Members
Properties  Methods 

The following tables list the members exposed by Texture2D.

Public Constructors
Public ConstructorTexture2D ConstructorInitializes a new instance of the Texture2D class.  
Public Properties
Public PropertyHeightGets the height of the texture  
Public PropertyTextureFormatGets the TextureFormat  
Public PropertyWidthGets the width of the texture  
Public Methods
Public MethodDisposeOverloaded. Releases unmanaged and - optionally - managed resources.  
Public Methodstatic (Shared in Visual Basic)FromArgbCreates a Texture2D from ARGB format uint array  
Public Methodstatic (Shared in Visual Basic)FromBytesCreates a Texture2D from byte array  
Public Methodstatic (Shared in Visual Basic)FromWriteableBitmapCreates a Texture2D from WPF System.Windows.Media.Imaging.WriteableBitmap  
Public MethodWritePixelsOverloaded. Writes float[] data into the texture. The TextureFormat must be a floating point format  
Protected Methods
Protected MethodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.  
Extension Methods
Public Extension MethodSafeDisposeChecks for null and if not null, calls Dispose
Public Extension MethodToEnumerable<T>Yields a single item, converting it to System.Collections.IEnumerable.
Public Extension MethodToStringArray2D<T>
See Also


Texture2D Class
SciChart.Charting3D Namespace



SCICHART ® is a Registered Trademark in the UK, US and EU. Copyright SciChart Ltd 2011-2018.

Send Feedback