Blender V4.3
COM_algorithm_extract_alpha.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 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
11
12/* Extracts the alpha channel from the given input and write it to the given output. The output
13 * will be allocated internally and is thus expected not to be previously allocated. */
14void extract_alpha(Context &context, Result &input, Result &output);
15
16} // namespace blender::realtime_compositor
void extract_alpha(Context &context, Result &input, Result &output)