Skip to main content

parse_obj_with_options

Function parse_obj_with_options 

Source
pub fn parse_obj_with_options<R>(
    text: &str,
    options: &ParseOptions,
    resolve: R,
) -> Result<Scene3D>
where R: FnMut(&str) -> Result<Vec<u8>>,
Expand description

Parse an OBJ document with explicit ParseOptions and a caller-supplied mtllib resolver. Lifts the option struct out of the otherwise-identical parse_obj_with_resolver signature.