Blender V5.0
BKE_light.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
11
12#include "BLI_compiler_attrs.h"
15
16struct Depsgraph;
17struct Light;
18struct Main;
19
21
22void BKE_light_eval(Depsgraph *depsgraph, Light *la);
23
24float BKE_light_power(const Light &light);
26float BKE_light_area(const Light &light, const blender::float4x4 &object_to_world);
blender::float3 BKE_light_color(const Light &light)
void BKE_light_eval(Depsgraph *depsgraph, Light *la)
float BKE_light_area(const Light &light, const blender::float4x4 &object_to_world)
Light * BKE_light_add(Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT
float BKE_light_power(const Light &light)
#define ATTR_WARN_UNUSED_RESULT
BPy_StructRNA * depsgraph
MatBase< float, 4, 4 > float4x4
VecBase< float, 3 > float3
const char * name