Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_light.h
| Show All 24 Lines | |||||
| * \brief General operations, lookup, etc. for blender lights. | * \brief General operations, lookup, etc. for blender lights. | ||||
| */ | */ | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| #include "BLI_compiler_attrs.h" | #include "BLI_compiler_attrs.h" | ||||
| struct Depsgraph; | |||||
| struct Light; | struct Light; | ||||
| struct Main; | struct Main; | ||||
| struct Light *BKE_light_add(struct Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT; | struct Light *BKE_light_add(struct Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT; | ||||
| struct Light *BKE_light_copy(struct Main *bmain, const struct Light *la) ATTR_WARN_UNUSED_RESULT; | struct Light *BKE_light_copy(struct Main *bmain, const struct Light *la) ATTR_WARN_UNUSED_RESULT; | ||||
| struct Light *BKE_light_localize(struct Light *la) ATTR_WARN_UNUSED_RESULT; | struct Light *BKE_light_localize(struct Light *la) ATTR_WARN_UNUSED_RESULT; | ||||
| void BKE_light_eval(struct Depsgraph *depsgraph, struct Light *la); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif | #endif | ||||