@zhoubin10 一般必须小于等于贴图的纹理维度,有固定的算法

mipLevelCount = Math.floor(Math.log2(Math.max(source.width, source.height))) + 1