Blender
V4.3
source
blender
compositor
realtime_compositor
algorithms
COM_algorithm_smaa.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
5
#pragma once
6
7
#include "
COM_context.hh
"
8
#include "
COM_result.hh
"
9
10
namespace
blender::realtime_compositor
{
11
12
/* Anti-alias the given input using the SMAA algorithm and write the result into the given output.
13
* See the SMAA_THRESHOLD, SMAA_LOCAL_CONTRAST_ADAPTATION_FACTOR, and SMAA_CORNER_ROUNDING defines
14
* in gpu_shader_smaa_lib.glsl for information on the parameters. */
15
void
smaa
(Context &context,
16
Result &input,
17
Result &output,
18
float
threshold = 0.1f,
19
float
local_contrast_adaptation_factor = 2.0f,
20
int
corner_rounding = 25);
21
22
}
// namespace blender::realtime_compositor
COM_context.hh
COM_result.hh
blender::realtime_compositor
Definition
BKE_node.hh:80
blender::realtime_compositor::smaa
void smaa(Context &context, Result &input, Result &output, float threshold=0.1f, float local_contrast_adaptation_factor=2.0f, int corner_rounding=25)
Definition
smaa.cc:160
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0