Function rin_gl::image_based_light::copy_equirectangular_levels_to_cubemap[][src]

pub fn copy_equirectangular_levels_to_cubemap<'a, T, I>(
    levels: I,
    cubemap: &mut CubeMap,
    gl: &Renderer<'_>
) where
    T: Borrow<Texture>,
    I: IntoIterator<Item = T>, 

Convert a texture containing an equirectangular environment map with several mip levels into a cubemap