anchor: Texture:getMipmapCount
  Gets the number of mipmaps contained in the Texture. If the texture was not created with mipmaps, it will return 1.
  mipmaps = Texture:getMipmapCount()
  mipmaps number The number of mipmaps in the Texture.