Blender  V3.3
BKE_light.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2001-2002 NaN Holding BV. All rights reserved. */
3 
4 #pragma once
5 
11 #include "BLI_compiler_attrs.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 struct Depsgraph;
18 struct Light;
19 struct Main;
20 
21 struct Light *BKE_light_add(struct Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT;
22 
23 void BKE_light_eval(struct Depsgraph *depsgraph, struct Light *la);
24 
25 #ifdef __cplusplus
26 }
27 #endif
struct Light * BKE_light_add(struct Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT
Definition: light.c:203
void BKE_light_eval(struct Depsgraph *depsgraph, struct Light *la)
Definition: light.c:212
#define ATTR_WARN_UNUSED_RESULT
struct Depsgraph Depsgraph
Definition: DEG_depsgraph.h:35
const Depsgraph * depsgraph
Definition: BKE_main.h:121
ustring name
Definition: graph/node.h:174