Blender V5.3
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
8
9[[node]]
10void node_light_info(const float light_index,
12 float4 &color,
13 float &power,
15{
16 node_light_info_impl(kg, int(light_index), color, power, position);
17}
void node_light_info_impl(KernelGlobals &kg, const int light_index, float4 &color, float &power, float3 &position)
#define position
#define resource_table
void node_light_info(const float light_index, KernelGlobals &kg, float4 &color, float &power, float3 &position)
ccl_device_inline float2 power(const float2 v, const float e)