Texture2DFactory Class |
Namespace: AGI.Foundation.Graphics.Advanced
The Texture2DFactory type exposes the following members.
Name | Description | |
---|---|---|
GenerateMipmapCompatibleTextures |
Gets or sets whether the Texture2DFactory
will create mipmap compatible textures. Mipmap compatible textures are required when using
TextureFilter2D with a MipMapped
MinificationFilter.
|
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.) |