Blender  V3.3
overlay_facing_info.hh
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
4 
5 GPU_SHADER_CREATE_INFO(overlay_facing)
6  .do_static_compilation(true)
7  .vertex_in(0, Type::VEC3, "pos")
8  .vertex_source("overlay_facing_vert.glsl")
9  .fragment_source("overlay_facing_frag.glsl")
10  .fragment_out(0, Type::VEC4, "fragColor")
11  .additional_info("draw_mesh", "draw_globals");
12 
13 GPU_SHADER_CREATE_INFO(overlay_facing_clipped)
14  .do_static_compilation(true)
15  .additional_info("overlay_facing", "drw_clipped");
#define GPU_SHADER_CREATE_INFO(_info)