15 return reinterpret_cast<::
Object *
>(
object.ptr.data);
21 return blender_object->light_linking;
25 const BL::Object &
object)
35 if (parent_light_linking && parent_light_linking->runtime.receiver_light_set) {
36 return parent_light_linking->runtime.receiver_light_set;
41 return (light_linking) ? light_linking->runtime.receiver_light_set : 0;
45 const BL::Object &
object)
48 return (light_linking) ? light_linking->runtime.shadow_set_membership :
LIGHT_LINK_MASK_ALL;
55 if (parent_light_linking && parent_light_linking->runtime.blocker_shadow_set) {
56 return parent_light_linking->runtime.blocker_shadow_set;
61 return (light_linking) ? light_linking->runtime.blocker_shadow_set : 0;
Object is a sort of wrapper for general info.
static uint64_t get_shadow_set_membership(const BL::Object &parent, const BL::Object &object)
static uint64_t get_light_set_membership(const BL::Object &parent, const BL::Object &object)
static uint get_receiver_light_set(const BL::Object &parent, const BL::Object &object)
static uint get_blocker_shadow_set(const BL::Object &parent, const BL::Object &object)
#define CCL_NAMESPACE_END
#define LIGHT_LINK_MASK_ALL
static CCL_NAMESPACE_BEGINconst ::Object * get_blender_object(const BL::Object &object)
static const ::LightLinking * get_light_linking(const BL::Object &object)
unsigned __int64 uint64_t