|
Blender V5.0
|
Functions | |
| static pxr::UsdShadeMaterial | compute_bound_material (const pxr::UsdPrim &prim, eUSDMtlPurpose mtl_purpose) |
| static void | assign_materials (Main *bmain, Object *ob, const blender::Map< pxr::SdfPath, int > &mat_index_map, const USDImportParams ¶ms, pxr::UsdStageRefPtr stage, const ImportSettings &settings) |
|
static |
Definition at line 100 of file usd_reader_mesh.cc.
References Object::actcol, blender::io::usd::USDMaterialReader::add_material(), Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), BKE_object_material_assign_single_obdata(), CLOG_WARN, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::io::usd::find_existing_material(), Material::id, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), LOG, blender::io::usd::ImportSettings::mat_import_hook_sources, blender::io::usd::ImportSettings::mat_name_to_mat, MAXMAT, ID::name, params, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), Object::totcol, blender::io::usd::USD_MTL_NAME_COLLISION_MAKE_UNIQUE, blender::io::usd::ImportSettings::usd_path_to_mat, and blender::io::usd::ImportSettings::usd_path_to_mat_for_hook.
|
static |
Definition at line 71 of file usd_reader_mesh.cc.
References blender::io::usd::USD_MTL_PURPOSE_ALL, blender::io::usd::USD_MTL_PURPOSE_FULL, and blender::io::usd::USD_MTL_PURPOSE_PREVIEW.