Blender
V5.3
source
blender
gpu
shaders
material
gpu_shader_material_light_info.bsl.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2026 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include "
gpu_shader_material_interface.bsl.hh
"
8
9
[[
node
]]
10
void
node_light_info
(
const
float
light_index,
11
[[
resource_table
]]
KernelGlobals
&kg,
12
float4
&color,
13
float
&
power
,
14
float3
&
position
)
15
{
16
node_light_info_impl
(kg,
int
(light_index), color,
power
,
position
);
17
}
node_light_info_impl
void node_light_info_impl(KernelGlobals &kg, const int light_index, float4 &color, float &power, float3 &position)
Definition
eevee_nodetree_lib.bsl.hh:1120
position
#define position
Definition
gpu_shader_cxx_attribute.hh:63
resource_table
#define resource_table
Definition
gpu_shader_cxx_attribute.hh:128
node
#define node
Definition
gpu_shader_cxx_attribute.hh:142
gpu_shader_material_interface.bsl.hh
node_light_info
void node_light_info(const float light_index, KernelGlobals &kg, float4 &color, float &power, float3 &position)
Definition
gpu_shader_material_light_info.bsl.hh:10
power
ccl_device_inline float2 power(const float2 v, const float e)
Definition
math_float2.h:259
KernelGlobals
Definition
eevee_nodetree_lib.bsl.hh:141
float3
Definition
sky_math.h:135
float4
Definition
sky_math.h:224
Generated on
for Blender by
doxygen
1.18.0