Blender
V4.3
source
blender
blenkernel
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
15
extern
"C"
{
16
#endif
17
18
struct
Depsgraph;
19
struct
Light
;
20
struct
Main
;
21
22
struct
Light
*
BKE_light_add
(
struct
Main
*bmain,
const
char
*name)
ATTR_WARN_UNUSED_RESULT
;
23
24
void
BKE_light_eval
(
struct
Depsgraph *
depsgraph
,
struct
Light
*la);
25
26
#ifdef __cplusplus
27
}
28
#endif
BKE_light_add
struct Light * BKE_light_add(struct Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT
Definition
blenkernel/intern/light.cc:194
BKE_light_eval
void BKE_light_eval(struct Depsgraph *depsgraph, struct Light *la)
Definition
blenkernel/intern/light.cc:203
BLI_compiler_attrs.h
ATTR_WARN_UNUSED_RESULT
#define ATTR_WARN_UNUSED_RESULT
Definition
BLI_compiler_attrs.h:15
depsgraph
const Depsgraph * depsgraph
Definition
deg_eval_copy_on_write.cc:494
Light
Definition
DNA_light_types.h:22
Main
Definition
BKE_main.hh:122
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0