pub fn texture2d_with_mipmaps_from_bytes(
glium_facade: &dyn Facade,
bytes: &[u8],
image_format: ImageFormat,
mipmaps: MipmapsOption,
) -> Result<Texture2d, LoadError>Expand description
Load a 2D texture from the given bytes with the given format and mipmaps.