Blender  V3.3
Public Member Functions | List of all members
blender::io::obj::MTLParser Class Reference

#include <obj_import_file_reader.hh>

Public Member Functions

 MTLParser (StringRefNull mtl_library_, StringRefNull obj_filepath)
 
void parse_and_store (Map< std::string, std::unique_ptr< MTLMaterial >> &r_materials)
 

Detailed Description

Definition at line 48 of file obj_import_file_reader.hh.

Constructor & Destructor Documentation

◆ MTLParser()

blender::io::obj::MTLParser::MTLParser ( StringRefNull  mtl_library_,
StringRefNull  obj_filepath 
)

Open material library file.

Definition at line 759 of file obj_import_file_reader.cc.

References BLI_path_join(), BLI_split_dir_part(), blender::StringRefBase::data(), FILE_MAX, FILE_MAXDIR, and NULL.

Member Function Documentation

◆ parse_and_store()

void blender::io::obj::MTLParser::parse_and_store ( Map< std::string, std::unique_ptr< MTLMaterial >> &  r_materials)

The documentation for this class was generated from the following files: