Blender V4.3
overlay_facing_info.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
6
7GPU_SHADER_CREATE_INFO(overlay_facing)
8 .do_static_compilation(true)
9 .vertex_in(0, Type::VEC3, "pos")
10 .vertex_source("overlay_facing_vert.glsl")
11 .fragment_source("overlay_facing_frag.glsl")
12 .fragment_out(0, Type::VEC4, "fragColor")
13 .additional_info("draw_mesh", "draw_globals");
14
15GPU_SHADER_CREATE_INFO(overlay_facing_clipped)
16 .do_static_compilation(true)
17 .additional_info("overlay_facing", "drw_clipped");
#define GPU_SHADER_CREATE_INFO(_info)