image_blp::parser

Function parse_blp_with_externals

Source
pub fn parse_blp_with_externals<'a, F>(
    root_input: &'a [u8],
    external_mipmaps: F,
) -> Parser<'a, BlpImage>
where F: FnMut(usize) -> Result<Option<&'a [u8]>, Box<dyn Error>> + Clone,
Expand description

Parse BLP file from slice and use user provided callback to read mipmaps