|
Blender V4.3
|
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 blender::io::usd::USDImportParams ¶ms, pxr::UsdStageRefPtr stage, blender::Map< std::string, Material * > &mat_name_to_mat, blender::Map< std::string, std::string > &usd_path_to_mat_name) |
|
static |
Definition at line 90 of file usd_reader_mesh.cc.
References Object::actcol, blender::io::usd::USDMaterialReader::add_material(), BKE_object_material_assign_single_obdata(), CLOG_WARN, blender::io::usd::find_existing_material(), Material::id, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), LOG, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_default(), blender::io::usd::make_safe_name(), MAXMAT, ID::name, params, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), stage, Object::totcol, and blender::io::usd::USD_MTL_NAME_COLLISION_MAKE_UNIQUE.
|
static |
Definition at line 61 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.