Blender V4.3
workbench_shader_shared.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#ifndef GPU_SHADER
7#endif
8
9#define WORKBENCH_SHADER_SHARED_H
10
11struct LightData {
14 float4 diffuse_color_wrap; /* rgb: diffuse col a: wrapped lighting factor */
15};
16
52
62
VecBase< float, 4 > float4
VecBase< float, 2 > float2
packed_float3 light_direction_ws
LightData lights[4]