Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_material.h
| Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
| void BKE_material_free_ex(struct Material *ma, bool do_id_user); | void BKE_material_free_ex(struct Material *ma, bool do_id_user); | ||||
| void test_object_materials(struct Object *ob, struct ID *id); | void test_object_materials(struct Object *ob, struct ID *id); | ||||
| void test_all_objects_materials(struct Main *bmain, struct ID *id); | void test_all_objects_materials(struct Main *bmain, struct ID *id); | ||||
| void BKE_material_resize_object(struct Main *bmain, struct Object *ob, const short totcol, bool do_id_user); | void BKE_material_resize_object(struct Main *bmain, struct Object *ob, const short totcol, bool do_id_user); | ||||
| void BKE_material_init(struct Material *ma); | void BKE_material_init(struct Material *ma); | ||||
| void BKE_material_remap_object(struct Object *ob, const unsigned int *remap); | void BKE_material_remap_object(struct Object *ob, const unsigned int *remap); | ||||
| void BKE_material_remap_object_calc(struct Object *ob_dst, struct Object *ob_src, short *remap_src_to_dst); | void BKE_material_remap_object_calc(struct Object *ob_dst, struct Object *ob_src, short *remap_src_to_dst); | ||||
| struct Material *BKE_material_add(struct Main *bmain, const char *name); | struct Material *BKE_material_add(struct Main *bmain, const char *name); | ||||
| void BKE_material_copy_data(struct Main *bmain, struct Material *ma_dst, const struct Material *ma_src, const int flag); | |||||
| struct Material *BKE_material_copy(struct Main *bmain, const struct Material *ma); | struct Material *BKE_material_copy(struct Main *bmain, const struct Material *ma); | ||||
| struct Material *localize_material(struct Material *ma); | struct Material *localize_material(struct Material *ma); | ||||
| struct Material *give_node_material(struct Material *ma); /* returns node material or self */ | struct Material *give_node_material(struct Material *ma); /* returns node material or self */ | ||||
| void BKE_material_make_local(struct Main *bmain, struct Material *ma, const bool lib_local); | void BKE_material_make_local(struct Main *bmain, struct Material *ma, const bool lib_local); | ||||
| /* UNUSED */ | /* UNUSED */ | ||||
| // void automatname(struct Material *); | // void automatname(struct Material *); | ||||
| ▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines | |||||