Blender V4.3
compositor_directional_blur_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_directional_blur)
8 .local_group_size(16, 16)
9 .push_constant(Type::INT, "iterations")
10 .push_constant(Type::VEC2, "origin")
11 .push_constant(Type::VEC2, "translation")
12 .push_constant(Type::FLOAT, "rotation_sin")
13 .push_constant(Type::FLOAT, "rotation_cos")
14 .push_constant(Type::FLOAT, "scale")
15 .sampler(0, ImageType::FLOAT_2D, "input_tx")
16 .image(0, GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D, "output_img")
17 .compute_source("compositor_directional_blur.glsl")
18 .do_static_compilation(true);
#define GPU_SHADER_CREATE_INFO(_info)