Function mip_map_levels

pub fn mip_map_levels(round: RoundingMode, max_resolution: Vec2<usize>) -> impl Iterator<Item = (usize, Vec2<usize>)>

Iterates over all mip map level resolutions of a given size, including the indices of each level. The order of iteration conforms to LineOrder::Increasing.