Texture2DFactory Methods |
The Texture2DFactory type exposes the following members.
Name | Description | |
---|---|---|
Dispose | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FromBitmap |
Creates a new texture from a bitmap.
Accepts a .NET Bitmap with a PixelFormat of
Format8bppIndexed, Format24bppRgb, Format32bppRgb, or Format32bppArgb.
| |
FromMemory(Byte, RasterAttributes) |
Creates a new texture from memory.
| |
FromMemory(IntPtr, RasterAttributes) |
Creates a new texture from memory.
| |
FromRaster |
Creates a new texture from a Raster.
| |
FromUri(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.
| |
FromUri(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.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |