Blender V4.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
12#include "BLI_compiler_attrs.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18struct Depsgraph;
19struct Light;
20struct Main;
21
22struct Light *BKE_light_add(struct Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT;
23
24void BKE_light_eval(struct Depsgraph *depsgraph, struct Light *la);
25
26#ifdef __cplusplus
27}
28#endif
struct Light * BKE_light_add(struct Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT
void BKE_light_eval(struct Depsgraph *depsgraph, struct Light *la)
#define ATTR_WARN_UNUSED_RESULT
const Depsgraph * depsgraph