Click or drag to resize

Texture2DFactory Class

A factory for creating Texture2D objects from various sources.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.Graphics.AdvancedTexture2DFactory

Namespace:  AGI.Foundation.Graphics.Advanced
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public sealed class Texture2DFactory : IDisposable

The Texture2DFactory type exposes the following members.

Properties
  NameDescription
Public propertyGenerateMipmapCompatibleTextures
Gets or sets whether the Texture2DFactory will create mipmap compatible textures. Mipmap compatible textures are required when using TextureFilter2D with a MipMapped MinificationFilter.
Top
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