Click or drag to resize

Texture2DFactory Methods

The Texture2DFactory type exposes the following members.

Methods
  NameDescription
Public methodDispose
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFromBitmap
Creates a new texture from a bitmap. Accepts a .NET Bitmap with a PixelFormat of Format8bppIndexed, Format24bppRgb, Format32bppRgb, or Format32bppArgb.
Public methodFromMemory(Byte, RasterAttributes)
Creates a new texture from memory.
Public methodFromMemory(IntPtr, RasterAttributes)
Creates a new texture from memory.
Public methodFromRaster
Creates a new texture from a Raster.
Public methodFromUri(String)
Creates a new texture from a URI, which can be a file, HTTP, HTTPS, or FTP source. See Raster for a list of supported raster formats.
Public methodFromUri(Uri)
Creates a new texture from a URI, which can be a file, HTTP, HTTPS, or FTP source. See Raster for a list of supported raster formats.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also