mojo:mojo.graphics.Texture.New

Method New:Void( width:Int,height:Int,format:std.graphics.PixelFormat,flags:TextureFlags )
Method New:Void( pixmap:std.graphics.Pixmap,flags:TextureFlags )

Creates a new texture.

The "MOJOTEXTUREMAX_ANISOTROPY" config setting control the max anisotropy of mipmapped textures.