update

fun Texture.update(bmp: Bitmap32, mipmaps: Boolean, baseMipmapLevel: Int, maxMipmapLevel: Int)

Updates this texture from a bmp and optionally generates mipmaps.