Blender V4.3
compositor_id_mask_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_id_mask)
8 .local_group_size(16, 16)
9 .push_constant(Type::INT, "index")
10 .sampler(0, ImageType::FLOAT_2D, "input_mask_tx")
11 .image(0, GPU_R16F, Qualifier::WRITE, ImageType::FLOAT_2D, "output_mask_img")
12 .compute_source("compositor_id_mask.glsl")
13 .do_static_compilation(true);
#define GPU_SHADER_CREATE_INFO(_info)