Blender V5.0
BKE_light.h File Reference

General operations, lookup, etc. for blender lights. More...

Go to the source code of this file.

Functions

LightBKE_light_add (Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT
void BKE_light_eval (Depsgraph *depsgraph, Light *la)
float BKE_light_power (const Light &light)
blender::float3 BKE_light_color (const Light &light)
float BKE_light_area (const Light &light, const blender::float4x4 &object_to_world)

Detailed Description

General operations, lookup, etc. for blender lights.

Definition in file BKE_light.h.

Function Documentation

◆ BKE_light_add()

◆ BKE_light_area()

◆ BKE_light_color()

◆ BKE_light_eval()

void BKE_light_eval ( Depsgraph * depsgraph,
Light * la )

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

References DEG_debug_print_eval(), depsgraph, Light::id, and ID::name.

◆ BKE_light_power()

float BKE_light_power ( const Light & light)

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

References Light::energy, and Light::exposure.

Referenced by blender::eevee::Light::sync().