Blender V4.3
compositor_keying_screen_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(compositor_keying_screen)
8 .local_group_size(16, 16)
9 .push_constant(Type::FLOAT, "smoothness")
10 .push_constant(Type::INT, "number_of_markers")
11 .storage_buf(0, Qualifier::READ, "vec2", "marker_positions[]")
12 .storage_buf(1, Qualifier::READ, "vec4", "marker_colors[]")
13 .image(0, GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D, "output_img")
14 .compute_source("compositor_keying_screen.glsl")
15 .do_static_compilation(true);
#define GPU_SHADER_CREATE_INFO(_info)