Blender V5.0
RE_compositor.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 <cstdint>
8
9namespace blender::compositor {
10class RenderContext;
11class Profiler;
12enum class OutputTypes : uint8_t;
13} // namespace blender::compositor
14
15struct bNodeTree;
16struct Render;
17struct RenderData;
18struct Scene;
19
20/* ------------------------------------------------------------------------------------------------
21 * Render Compositor
22 *
23 * Implementation of the compositor for final rendering, as opposed to the viewport compositor
24 * that is part of the draw manager. The input and output of this is pre-existing RenderResult
25 * buffers in scenes, that are uploaded to and read back from the GPU. */
26
27namespace blender::render {
28class Compositor;
29}
30
31/* Execute compositor. */
32void RE_compositor_execute(Render &render,
33 const Scene &scene,
34 const RenderData &render_data,
35 const bNodeTree &node_tree,
36 const char *view_name,
40
41/* Free compositor caches. */
42void RE_compositor_free(Render &render);
void RE_compositor_free(Render &render)
void RE_compositor_execute(Render &render, const Scene &scene, const RenderData &render_data, const bNodeTree &node_tree, const char *view_name, blender::compositor::RenderContext *render_context, blender::compositor::Profiler *profiler, blender::compositor::OutputTypes needed_outputs)