2023-05-31 16:19:06 +02:00
|
|
|
/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2011-11-05 14:11:49 +01:00
|
|
|
|
2019-02-27 09:58:06 +01:00
|
|
|
#pragma once
|
2011-11-05 14:11:49 +01:00
|
|
|
|
2019-02-17 22:08:12 +01:00
|
|
|
/** \file
|
|
|
|
* \ingroup bke
|
2019-02-27 02:02:02 +01:00
|
|
|
* \brief General operations, lookup, etc. for blender lights.
|
2011-11-05 14:11:49 +01:00
|
|
|
*/
|
2020-05-08 18:16:39 +02:00
|
|
|
|
|
|
|
#include "BLI_compiler_attrs.h"
|
|
|
|
|
2011-11-05 14:11:49 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2020-05-25 10:07:10 +02:00
|
|
|
struct Depsgraph;
|
2019-02-27 00:46:48 +01:00
|
|
|
struct Light;
|
2013-02-05 13:46:15 +01:00
|
|
|
struct Main;
|
2011-11-05 14:11:49 +01:00
|
|
|
|
2019-02-27 00:46:48 +01:00
|
|
|
struct Light *BKE_light_add(struct Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT;
|
2011-11-05 14:11:49 +01:00
|
|
|
|
2020-05-25 10:07:10 +02:00
|
|
|
void BKE_light_eval(struct Depsgraph *depsgraph, struct Light *la);
|
|
|
|
|
2011-11-05 14:11:49 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|