Blender V5.3
light.cc File Reference
#include <cstdlib>
#include <optional>
#include "MEM_guardedalloc.h"
#include "DNA_light_types.h"
#include "DNA_node_types.h"
#include "DNA_scene_types.h"
#include "BLI_math_base.hh"
#include "BLI_math_matrix.hh"
#include "BLI_math_matrix_types.hh"
#include "BLI_utildefines.hh"
#include "BKE_icons.hh"
#include "BKE_idtype.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_light.h"
#include "BKE_node.hh"
#include "BKE_preview_image.hh"
#include "BLT_translation.hh"
#include "DEG_depsgraph.hh"
#include "IMB_colormanagement.hh"
#include "BLO_read_write.hh"
#include "NOD_defaults.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define DNA_DEPRECATED_ALLOW

Functions

static void blender::light_init_data (ID *id)
static void blender::light_copy_data (Main *bmain, std::optional< Library * > owner_library, ID *id_dst, const ID *id_src, const int flag)
static void blender::light_free_data (ID *id)
static void blender::light_foreach_id (ID *id, LibraryForeachIDData *data)
static void blender::light_foreach_working_space_color (ID *id, const IDTypeForeachColorFunctionCallback &fn)
static void blender::light_blend_write (BlendWriter *writer, ID *id, const void *id_address)
static void blender::light_blend_read_data (BlendDataReader *reader, ID *id)
Light * blender::BKE_light_add (Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT
void blender::BKE_light_eval (Depsgraph *depsgraph, Light *la)
float blender::BKE_light_power (const Light &light)
float3 blender::BKE_light_color (const Light &light)
float blender::BKE_light_area (const Light &light, const float4x4 &object_to_world)

Macro Definition Documentation

◆ DNA_DEPRECATED_ALLOW

#define DNA_DEPRECATED_ALLOW

Definition at line 15 of file blenkernel/intern/light.cc.