mojo.graphics.Texture.New - nitrologic/monkey2 GitHub Wiki
mojo::mojo.graphics.mojo.graphics.Texture.New
monkey:monkey.types.Int,height:monkey:monkey.types.Int,format:std:std.graphics.PixelFormat,flags:mojo:mojo.graphics.TextureFlags )
Method New:Void( width:std:std.graphics.Pixmap,flags:mojo:mojo.graphics.TextureFlags )
Method New:Void( pixmap:Creates a new texture.
The "MOJO_TEXTURE_MAX_ANISOTROPY" config setting control the max anisotropy of mipmapped textures.