Blender V5.3
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.hh"
15
16namespace blender {
17
18struct Depsgraph;
19struct Light;
20struct Main;
21
22Light *BKE_light_add(Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT;
23
24void BKE_light_eval(Depsgraph *depsgraph, Light *la);
25
26float BKE_light_power(const Light &light);
27float3 BKE_light_color(const Light &light);
28float BKE_light_area(const Light &light, const float4x4 &object_to_world);
29
30} // namespace blender
BMesh Iterators.
float BKE_light_power(const Light &light)
MatBase< float, 4, 4 > float4x4
float3 BKE_light_color(const Light &light)
Light * BKE_light_add(Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT
float BKE_light_area(const Light &light, const float4x4 &object_to_world)
bool ATTR_WARN_UNUSED_RESULT
VecBase< float, 3 > float3
void BKE_light_eval(Depsgraph *depsgraph, Light *la)