Blender
V3.3
|
Public Member Functions | |
void | check_string (const char *text, const MTLMaterial *expect, size_t expect_count) |
void | check (const char *file, const MTLMaterial *expect, size_t expect_count) |
void | check_impl (StringRefNull mtl_file_path, StringRefNull file_dir, const MTLMaterial *expect, size_t expect_count) |
Definition at line 13 of file obj_mtl_parser_tests.cc.
|
inline |
Definition at line 29 of file obj_mtl_parser_tests.cc.
References check_impl(), and file.
|
inline |
Definition at line 34 of file obj_mtl_parser_tests.cc.
References blender::io::obj::MTLMaterial::d, exp(), EXPECT_EQ(), blender::io::obj::MTLMaterial::illum, blender::io::obj::tex_map_XX::image_path, blender::io::obj::MTLMaterial::Ka, blender::io::obj::MTLMaterial::Kd, blender::io::obj::MTLMaterial::Ke, blender::io::obj::MTLMaterial::Ks, blender::io::obj::MTLMaterial::map_Bump_strength, materials, blender::io::obj::MTLMaterial::Ni, blender::io::obj::MTLMaterial::Ns, blender::io::obj::MTLParser::parse_and_store(), blender::io::obj::tex_map_XX::projection_type, blender::io::obj::tex_map_XX::scale, blender::io::obj::MTLMaterial::texture_maps, and blender::io::obj::tex_map_XX::translation.
Referenced by check(), and check_string().
|
inline |
Definition at line 15 of file obj_mtl_parser_tests.cc.
References BKE_tempdir_base(), BKE_tempdir_init(), BLI_delete(), BLI_fopen(), and check_impl().