Returns the maximum number of mip levels for a given n-dimensional size.
Rest
The size to compute the maximum number of mip levels for
The maximum number of mip levels for the given size
Returns the maximum number of mip levels for a given n-dimensional size.