Add Chromium-only Blender WebEngine parity work
This commit is contained in:
30
blender-5.2.0/source/blender/blenkernel/BKE_light.h
Normal file
30
blender-5.2.0/source/blender/blenkernel/BKE_light.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/* 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"
|
||||
#include "BLI_math_matrix_types.hh"
|
||||
#include "BLI_math_vector_types.hh"
|
||||
|
||||
namespace blender {
|
||||
|
||||
struct Depsgraph;
|
||||
struct Light;
|
||||
struct Main;
|
||||
|
||||
Light *BKE_light_add(Main *bmain, const char *name) ATTR_WARN_UNUSED_RESULT;
|
||||
|
||||
void BKE_light_eval(Depsgraph *depsgraph, Light *la);
|
||||
|
||||
float BKE_light_power(const Light &light);
|
||||
float3 BKE_light_color(const Light &light);
|
||||
float BKE_light_area(const Light &light, const float4x4 &object_to_world);
|
||||
|
||||
} // namespace blender
|
||||
Reference in New Issue
Block a user