Blender  V3.3
gpu_shader_2D_point_uniform_size_uniform_color_outline_aa_info.hh
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2022 Blender Foundation. All rights reserved. */
3 
8 #include "gpu_interface_info.hh"
10 
11 GPU_SHADER_CREATE_INFO(gpu_shader_2D_point_uniform_size_uniform_color_outline_aa)
12  .vertex_in(0, Type::VEC2, "pos")
13  .vertex_out(smooth_radii_outline_iface)
14  .fragment_out(0, Type::VEC4, "fragColor")
15  .push_constant(Type::MAT4, "ModelViewProjectionMatrix")
16  .push_constant(Type::VEC4, "color")
17  .push_constant(Type::VEC4, "outlineColor")
18  .push_constant(Type::FLOAT, "size")
19  .push_constant(Type::FLOAT, "outlineWidth")
20  .vertex_source("gpu_shader_2D_point_uniform_size_outline_aa_vert.glsl")
21  .fragment_source("gpu_shader_point_uniform_color_outline_aa_frag.glsl")
22  .do_static_compilation(true);
#define GPU_SHADER_CREATE_INFO(_info)
@ FLOAT