Blender
V3.3
source
blender
blenkernel
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
BKE_light_add
struct Light * BKE_light_add(struct Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT
Definition:
light.c:203
BKE_light_eval
void BKE_light_eval(struct Depsgraph *depsgraph, struct Light *la)
Definition:
light.c:212
BLI_compiler_attrs.h
ATTR_WARN_UNUSED_RESULT
#define ATTR_WARN_UNUSED_RESULT
Definition:
BLI_compiler_attrs.h:14
Depsgraph
struct Depsgraph Depsgraph
Definition:
DEG_depsgraph.h:35
depsgraph
const Depsgraph * depsgraph
Definition:
deg_eval_copy_on_write.cc:499
Light
Definition:
DNA_light_types.h:26
Main
Definition:
BKE_main.h:121
Node::name
ustring name
Definition:
graph/node.h:174
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1