|
Blender V5.3
|
Functions | |
| static pxr::UsdShadeMaterial | compute_bound_material (const pxr::UsdPrim &prim, MtlPurpose mtl_purpose) |
| static void | assign_materials (Main *bmain, Object *ob, const Map< pxr::SdfPath, int > &mat_index_map, const USDImportParams ¶ms, pxr::UsdStageRefPtr stage, const ImportSettings &settings) |
|
static |
Definition at line 98 of file usd_reader_mesh.cc.
References blender::Object::actcol, blender::io::usd::USDMaterialReader::add_material(), assign_materials(), blender::BKE_object_material_assign_single_obdata(), CLOG_WARN, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::io::usd::find_existing_material(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), blender::LOG, blender::io::usd::MakeUnique, blender::io::usd::ImportSettings::mat_import_hook_sources, blender::io::usd::ImportSettings::mat_name_to_mat, MAXMAT, blender::io::usd::USDImportParams::mtl_name_collision_mode, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), blender::Object::totcol, blender::io::usd::ImportSettings::usd_path_to_mat, and blender::io::usd::ImportSettings::usd_path_to_mat_for_hook.
Referenced by assign_materials().
|
static |
Definition at line 69 of file usd_reader_mesh.cc.
References blender::io::usd::All, compute_bound_material(), blender::io::usd::Full, and blender::io::usd::Preview.
Referenced by compute_bound_material().