Blender V5.3
gpu_shader_material_light_iter_internal.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" /* IWYU pragma: export */
8
9#ifdef GPU_SHADER
10
11#else
12
16[[node]]
17void LIGHT_ITER_BEGIN(float &light_index)
18{
19}
20
21[[node]]
22void LIGHT_ITER_END(Closure shader, Closure &r_shader)
23{
24}
25
26#endif
#define LIGHT_ITER_BEGIN(light_index)
#define LIGHT_ITER_END()