Mojo graphics texture new
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 "MOJO_TEXTURE_MAX_ANISOTROPY" config setting control the max anisotropy of mipmapped textures.