glGenerateMipmap

common
fun glGenerateMipmap(type: TextureType)

Generates mipmaps for the currently selected texture of a given type.