Blender V5.3
light_linking.cc File Reference
#include "BKE_light_linking.h"
#include <string>
#include "MEM_guardedalloc.h"
#include "DNA_ID.h"
#include "DNA_collection_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BLI_assert.hh"
#include "BLI_listbase.hh"
#include "BLI_string_utf8.hh"
#include "BKE_collection.hh"
#include "BKE_layer.hh"
#include "BKE_lib_id.hh"
#include "BKE_report.hh"
#include "BLT_translation.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

void blender::BKE_light_linking_ensure (struct Object *object)
void blender::BKE_light_linking_copy (Object *object_dst, const 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)
Collection * blender::BKE_light_linking_collection_get (const Object *object, const LightLinkingType link_type)
static std::string blender::get_default_collection_name (const Object *object, const 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)
static CollectionObject * blender::find_collection_object (const Collection *collection, const Object *object)
static CollectionChild * blender::find_collection_child (const Collection *collection, const Collection *child)
static CollectionLightLinking * blender::light_linking_collection_add_object (Main *bmain, Collection *collection, Object *object)
static CollectionLightLinking * blender::light_linking_collection_add_collection (Main *bmain, Collection *collection, Collection *child)
static void blender::light_linking_add_receiver_to_collection (Main *bmain, Collection *collection, ID *receiver, const eCollectionLightLinkingState link_state, const bool allow_all_objects)
void blender::BKE_light_linking_add_receiver_to_collection (struct Main *bmain, struct Collection *collection, struct ID *receiver, const eCollectionLightLinkingState link_state)
static void blender::order_collection_receiver_before (Collection *collection, Collection *receiver, const ID *before)
static void blender::order_collection_receiver_after (Collection *collection, Collection *receiver, const ID *after)
static void blender::order_object_receiver_before (Collection *collection, Object *receiver, const ID *before)
static void blender::order_object_receiver_after (Collection *collection, Object *receiver, const ID *after)
void blender::BKE_light_linking_add_receiver_to_collection_before (Main *bmain, Collection *collection, ID *receiver, const ID *before, const eCollectionLightLinkingState link_state)
void blender::BKE_light_linking_add_receiver_to_collection_after (Main *bmain, Collection *collection, ID *receiver, const 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)