Blender V5.0
gpu_interface_infos.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
12
13GPU_SHADER_INTERFACE_INFO(flat_color_iface)
14FLAT(float4, finalColor)
16
17GPU_SHADER_INTERFACE_INFO(no_perspective_color_iface)
18NO_PERSPECTIVE(float4, finalColor)
20
21GPU_SHADER_INTERFACE_INFO(smooth_color_iface)
22SMOOTH(float4, finalColor)
24
25GPU_SHADER_INTERFACE_INFO(smooth_tex_coord_interp_iface)
26SMOOTH(float2, texCoord_interp)
28
29GPU_SHADER_INTERFACE_INFO(smooth_radii_iface)
30SMOOTH(float2, radii)
32
33GPU_SHADER_INTERFACE_INFO(smooth_radii_outline_iface)
34SMOOTH(float4, radii)
36
37GPU_SHADER_INTERFACE_INFO(icon_interp_iface)
38FLAT(float4, final_color)
39SMOOTH(float2, texCoord_interp)
40SMOOTH(float2, mask_coord_interp)
#define GPU_SHADER_INTERFACE_END()
#define GPU_SHADER_INTERFACE_INFO(_interface)
#define SMOOTH(type, name)
#define FLAT(type, name)
#define NO_PERSPECTIVE(type, name)