Show / Hide Table of Contents

Class TextureManager

Inheritance
System.Object
TextureManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: WPFOpenGL
Assembly: WPFOpenGL.dll
Syntax
public static class TextureManager

Methods

BitmapImageToBitmap(BitmapImage)

Declaration
public static Bitmap BitmapImageToBitmap(BitmapImage bitmapImage)
Parameters
Type Name Description
System.Windows.Media.Imaging.BitmapImage bitmapImage
Returns
Type Description
System.Drawing.Bitmap

BytesToBitmapImage(Byte[])

Declaration
public static BitmapImage BytesToBitmapImage(byte[] bytes)
Parameters
Type Name Description
System.Byte[] bytes
Returns
Type Description
System.Windows.Media.Imaging.BitmapImage

MagickImageToBytes(String)

Declaration
public static byte[] MagickImageToBytes(string filepath)
Parameters
Type Name Description
System.String filepath
Returns
Type Description
System.Byte[]

TextureTiff1(String)

Declaration
public static Bitmap TextureTiff1(string filepath)
Parameters
Type Name Description
System.String filepath
Returns
Type Description
System.Drawing.Bitmap

TextureTiff2(String)

Declaration
public static Bitmap TextureTiff2(string filepath)
Parameters
Type Name Description
System.String filepath
Returns
Type Description
System.Drawing.Bitmap
In This Article
Back to top Generated by DocFX