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