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
 NameDescription
Public ConstructorTexture2D ConstructorInitializes a new instance of the Texture2D class.  
Top
Public Properties
 NameDescription
Public PropertyHeightGets the height of the texture  
Public PropertyTextureFormatGets the TextureFormat  
Public PropertyWidthGets the width of the texture  
Top
Public Methods
 NameDescription
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  
Top
Protected Methods
 NameDescription
Protected MethodFinalizeAllows 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 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>
Top
See Also

Reference

Texture2D Class
SciChart.Charting3D Namespace

 

 


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

Send Feedback