Blender  V3.3
gpu_shader_2D_image_multi_rect_color_info.hh
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #include "gpu_interface_info.hh"
5 
6 GPU_SHADER_CREATE_INFO(gpu_shader_2D_image_multi_rect_color)
7  .vertex_in(0, Type::VEC2, "pos")
8  .vertex_out(flat_color_smooth_tex_coord_interp_iface)
9  .fragment_out(0, Type::VEC4, "fragColor")
10  .uniform_buf(0, "MultiRectCallData", "multi_rect_data")
11  .sampler(0, ImageType::FLOAT_2D, "image")
12  .typedef_source("GPU_shader_shared.h")
13  .vertex_source("gpu_shader_2D_image_multi_rect_vert.glsl")
14  .fragment_source("gpu_shader_image_varying_color_frag.glsl")
15  .do_static_compilation(true);
#define GPU_SHADER_CREATE_INFO(_info)