Blender V5.0
COM_algorithm_compute_preview.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
8
9#include "COM_context.hh"
10#include "COM_result.hh"
11
12namespace blender::compositor {
13
14/* Computes a lower resolution version of the given result and sets it as a preview for the given
15 * node after applying the appropriate color management specified in the given context. */
16void compute_preview(Context &context, const nodes::DNode &node, const Result &input_result);
17
18} // namespace blender::compositor
void compute_preview(Context &context, const nodes::DNode &node, const Result &input_result)