Blender V5.0
workbench_shader_shared.hh
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#pragma once
6
7#ifndef GPU_SHADER
9#endif
10
11#define WORKBENCH_SHADER_SHARED_H
12
13struct LightData {
16 float4 diffuse_color_wrap; /* rgb: diffuse col a: wrapped lighting factor */
17};
18
54
64
int32_t bool32_t
VecBase< float, 4 > float4
VecBase< float, 2 > float2
packed_float3 light_direction_ws