mojo.graphics.Texture.New - nitrologic/monkey2 GitHub Wiki

mojo::mojo.graphics.mojo.graphics.Texture.New

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

Creates a new texture.

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