Blender V4.3
COM_BilateralBlurOperation.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "BLI_math_base.hh"
8
10
11namespace blender::compositor {
12
14 private:
16 int radius_;
17
18 public:
20
22 {
23 data_ = data;
24 radius_ = int(math::ceil(data->sigma_space + data->iter));
25 }
26
27 void get_area_of_interest(int input_idx, const rcti &output_area, rcti &r_input_area) override;
28
30 const rcti &area,
31 Span<MemoryBuffer *> inputs) override;
32};
33
34} // namespace blender::compositor
void update_memory_buffer_partial(MemoryBuffer *output, const rcti &area, Span< MemoryBuffer * > inputs) override
void get_area_of_interest(int input_idx, const rcti &output_area, rcti &r_input_area) override
Get input operation area being read by this operation on rendering given output area.
a MemoryBuffer contains access to the data
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int
T ceil(const T &a)