Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_material.h
| Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
| /* materials */ | /* materials */ | ||||
| void init_def_material(void); | void init_def_material(void); | ||||
| void BKE_material_free(struct Material *sc); | void BKE_material_free(struct Material *sc); | ||||
| 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 Main *bmain, struct ID *id); | void test_object_materials(struct Main *bmain, struct ID *id); | ||||
| void BKE_material_resize_object(struct Object *ob, const short totcol, bool do_id_user); | void BKE_material_resize_object(struct Object *ob, const short totcol, bool do_id_user); | ||||
| void init_material(struct Material *ma); | void init_material(struct Material *ma); | ||||
| void BKE_material_id_remap(struct Object *ob, unsigned int remap[]); | |||||
| struct Material *BKE_material_add(struct Main *bmain, const char *name); | struct Material *BKE_material_add(struct Main *bmain, const char *name); | ||||
| struct Material *BKE_material_copy(struct Material *ma); | struct Material *BKE_material_copy(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 Material *ma); | void BKE_material_make_local(struct Material *ma); | ||||
| void extern_local_matarar(struct Material **matar, short totcol); | void extern_local_matarar(struct Material **matar, short totcol); | ||||
| /* UNUSED */ | /* UNUSED */ | ||||
| ▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines | |||||