pub fn generate_all_mipmaps(
        &mut self,
        filter: MipmapFilter,
        sharpen_filter: SharpenFilter,
    ) -> Result<()> {
        unsafe {
            ffi_try!(ffi::vlImageGenerateAllMipmaps(
                filter as i32,
                sharpen_filter as i32,
            ));
        }
        Ok(())
    }
/// Generates mipmaps for all faces and frames.
///
/// # Errors
///
/// Returns `Err` if the mipmap generation fails.
Generates mipmaps for all faces and frames.
Generates mipmaps for all faces and frames .
pub fn generate_all_mipmaps(
        &mut self,
        filter: MipmapFilter,
        sharpen_filter: SharpenFilter,
    ) -> Result<()> {
        unsafe {
            ffi_try!(ffi::vlImageGenerateAllMipmaps(
                filter as i32,
                sharpen_filter as i32,
            ));
        }
        Ok(())
    }
pub fn generate_all_mipmaps ( & mut self , filter : MipmapFilter , sharpen_filter : SharpenFilter , ) -> Result < ( ) > { unsafe { ffi_try ! ( ffi vlImageGenerateAllMipmaps ( filter as i32 sharpen_filter as i32 ) ) ; } Ok ( ( ) ) }
Generates mipmaps for all faces and frames.
Generates mipmaps for all faces and frames .
&mut self
filter
MipmapFilter
sharpen_filter
SharpenFilter
&mut self
filter
MipmapFilter
sharpen_filter
SharpenFilter
errors
Returns `Err` if the mipmap generation fails.
Returns ` Err ` if the mipmap generation fails .