Function rin_gl::image_based_light::equirectangular_levels_to_cubemap [−][src]
pub fn equirectangular_levels_to_cubemap<'a, T, I>(
levels: I,
size: u32,
color_format: ColorFormat,
gl: &Renderer<'_>
) -> CubeMap where
T: Borrow<Texture>,
I: IntoIterator<Item = T>,
Convert a texture containing an equirectangular environment map with several mip levels into a cubemap