Returns the number of mip levels in this texture. The topmost level counts as one, so if no mip chains are created, this function returns 1.