Blender V5.3
BKE_light_linking.h File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Enumerations

enum  blender::LightLinkingType { blender::LIGHT_LINKING_RECEIVER , blender::LIGHT_LINKING_BLOCKER }

Functions

void blender::BKE_light_linking_ensure (struct Object *object)
void blender::BKE_light_linking_copy (struct Object *object_dst, const struct Object *object_src, const int copy_flags)
void blender::BKE_light_linking_copy_collection (Main *bmain, Object &object_dst, const Object &object_src, LightLinkingType link_type)
void blender::BKE_light_linking_copy_receiver_collection (Main *bmain, Object &object_dst, const Object &object_src)
void blender::BKE_light_linking_copy_blocker_collection (Main *bmain, Object &object_dst, const Object &object_src)
void blender::BKE_light_linking_delete (struct Object *object, const int delete_flags)
void blender::BKE_light_linking_free_if_empty (struct Object *object)
struct Collection * blender::BKE_light_linking_collection_get (const struct Object *object, LightLinkingType link_type)
struct Collection * blender::BKE_light_linking_collection_new (struct Main *bmain, struct Object *object, LightLinkingType link_type)
void blender::BKE_light_linking_collection_assign_only (struct Object *object, struct Collection *new_collection, LightLinkingType link_type)
void blender::BKE_light_linking_collection_assign (struct Main *bmain, struct Object *object, struct Collection *new_collection, LightLinkingType link_type)
void blender::BKE_light_linking_add_receiver_to_collection (struct Main *bmain, struct Collection *collection, struct ID *receiver, const eCollectionLightLinkingState link_state)
void blender::BKE_light_linking_add_receiver_to_collection_before (struct Main *bmain, struct Collection *collection, struct ID *receiver, const struct ID *before, const eCollectionLightLinkingState link_state)
void blender::BKE_light_linking_add_receiver_to_collection_after (struct Main *bmain, struct Collection *collection, struct ID *receiver, const struct ID *after, const eCollectionLightLinkingState link_state)
bool blender::BKE_light_linking_unlink_id_from_collection (struct Main *bmain, struct Collection *collection, struct ID *id, struct ReportList *reports)
void blender::BKE_light_linking_link_receiver_to_emitter (struct Main *bmain, struct Object *emitter, struct Object *receiver, LightLinkingType link_type, eCollectionLightLinkingState link_state)
void blender::BKE_light_linking_select_receivers_of_emitter (const Main &bmain, struct Scene *scene, struct ViewLayer *view_layer, struct Object *emitter, LightLinkingType link_type)

Detailed Description

API to manage light linking.

Definition in file BKE_light_linking.h.