Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_lamp.h
| Show All 38 Lines | |||||
| #include "BLI_compiler_attrs.h" | #include "BLI_compiler_attrs.h" | ||||
| struct Lamp; | struct Lamp; | ||||
| struct Main; | struct Main; | ||||
| struct Scene; | struct Scene; | ||||
| void BKE_lamp_init(struct Lamp *la); | void BKE_lamp_init(struct Lamp *la); | ||||
| struct Lamp *BKE_lamp_add(struct Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT; | struct Lamp *BKE_lamp_add(struct Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT; | ||||
| void BKE_lamp_copy_data(struct Main *bmain, struct Lamp *la_dst, const struct Lamp *la_src, const int flag); | |||||
| struct Lamp *BKE_lamp_copy(struct Main *bmain, const struct Lamp *la) ATTR_WARN_UNUSED_RESULT; | struct Lamp *BKE_lamp_copy(struct Main *bmain, const struct Lamp *la) ATTR_WARN_UNUSED_RESULT; | ||||
| struct Lamp *localize_lamp(struct Lamp *la) ATTR_WARN_UNUSED_RESULT; | struct Lamp *localize_lamp(struct Lamp *la) ATTR_WARN_UNUSED_RESULT; | ||||
| void BKE_lamp_make_local(struct Main *bmain, struct Lamp *la, const bool lib_local); | void BKE_lamp_make_local(struct Main *bmain, struct Lamp *la, const bool lib_local); | ||||
| void BKE_lamp_free(struct Lamp *la); | void BKE_lamp_free(struct Lamp *la); | ||||
| void lamp_drivers_update(struct Scene *scene, struct Lamp *la, float ctime); | void lamp_drivers_update(struct Scene *scene, struct Lamp *la, float ctime); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif | #endif | ||||