Blender V5.3
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
7#include "BKE_node.hh"
8
9#include "COM_context.hh"
10#include "COM_result.hh"
11
12namespace blender::compositor {
13
14/* Computes and returns a lower resolution byte version of the given input after applying the
15 * appropriate color management specified in the given context. */
16ImBuf *compute_preview(Context &context, const Result &input);
17
18} // namespace blender::compositor
ImBuf * compute_preview(Context &context, const Result &input)