The only remaining code in source/blender that must be compiled as C is now datatoc generated code and the DNA defaults that use designated initializers. Pull Request: https://projects.blender.org/blender/blender/pulls/134469
21 lines
473 B
C
21 lines
473 B
C
/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
/** \file
|
|
* \ingroup bke
|
|
* \brief General operations, lookup, etc. for blender lights.
|
|
*/
|
|
|
|
#include "BLI_compiler_attrs.h"
|
|
|
|
struct Depsgraph;
|
|
struct Light;
|
|
struct Main;
|
|
|
|
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);
|