generateMipMap

fun <T : TextureData> T.generateMipMap(context: Context, target: TextureTarget, pixmap: Pixmap, width: Int, height: Int, useHWMipMap: Boolean = true)