Blender V5.3
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
8
9#pragma once
10
12
13#define WORKBENCH_SHADER_SHARED_H
14
18 float4 diffuse_color_wrap; /* rgb: diffuse col a: wrapped lighting factor */
19};
20
56
66
70 /* Pixel size at 1 unit from the View origin. */
72};
#define host_shared
int32_t bool32_t
VecBase< float, 4 > float4
VecBase< float, 2 > float2
packed_float3 light_direction_ws
struct SolidLightData lights[4]