Blender
V5.0
source
blender
compositor
algorithms
COM_algorithm_convolve.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2025 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include "
COM_context.hh
"
8
#include "
COM_result.hh
"
9
10
namespace
blender::compositor
{
11
12
/* Convolves the given color input by the given float or color kernel and write the result to the
13
* given output. If normalize_kernel is true, the kernel will be normalized such that it integrates
14
* to 1. The output will be allocated internally and is thus expected not to be previously
15
* allocated. */
16
void
convolve
(
Context
&context,
17
const
Result
&
input
,
18
const
Result
&kernel,
19
Result
&
output
,
20
const
bool
normalize_kernel);
21
22
}
// namespace blender::compositor
COM_context.hh
COM_result.hh
blender::compositor::Context
Definition
COM_context.hh:44
blender::compositor::Result
Definition
COM_result.hh:100
input
#define input
Definition
gpu_shader_compat_cxx.hh:170
output
#define output
Definition
gpu_shader_compat_cxx.hh:171
blender::compositor
Definition
BKE_node.hh:77
blender::compositor::convolve
void convolve(Context &context, const Result &input, const Result &kernel, Result &output, const bool normalize_kernel)
Definition
source/blender/compositor/algorithms/intern/convolve.cc:28
Generated on
for Blender by
doxygen
1.16.1