Blender V4.3
COM_algorithm_realize_on_domain.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
8
9#include "COM_context.hh"
10#include "COM_domain.hh"
11#include "COM_result.hh"
12
14
15/* Projects the input on a target domain, copies the area of the input that intersects the target
16 * domain, and fill the rest with zeros or repetitions of the input depending on the realization
17 * options. The transformation and realization options of the input are ignored and the given
18 * input_transformation and realization_options are used instead to allow the caller to change them
19 * without mutating the input result directly. See the discussion in COM_domain.hh for more
20 * information on what realization on domain means. */
21void realize_on_domain(Context &context,
22 Result &input,
23 Result &output,
24 const Domain &domain,
25 const float3x3 &input_transformation,
26 const RealizationOptions &realization_options);
27
28} // namespace blender::realtime_compositor
void realize_on_domain(Context &context, Result &input, Result &output, const Domain &domain, const float3x3 &input_transformation, const RealizationOptions &realization_options)
MatBase< float, 3, 3 > float3x3