Blender V5.3
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
8
9#pragma once
10
11#include <cstdint>
12#include <string>
13
14namespace blender {
15
16namespace compositor {
17class RenderContext;
19} // namespace compositor
20
21struct bNodeTree;
22struct Render;
23struct Main;
24struct RenderData;
25struct Scene;
26
27/* ------------------------------------------------------------------------------------------------
28 * Render Compositor
29 *
30 * Implementation of the compositor for final rendering, as opposed to the viewport compositor
31 * that is part of the draw manager. The input and output of this is pre-existing RenderResult
32 * buffers in scenes, that are uploaded to and read back from the GPU. */
33
34namespace render {
35class Compositor;
36
38 public:
40 const Main &main;
41 const Scene &scene;
43 std::string view_name;
46 /* Identifies if the compositor is executing due to the user making a modification or if it is
47 * executing due to playback or rendering. */
48 const bool triggered_by_user = false;
49};
50
51} // namespace render
52
53/* Execute compositor. */
55
56/* Free compositor caches. */
58
59} // namespace blender
compositor::SideEffectOutputTypes needed_side_effects_outputs
compositor::RenderContext * render_context
BMesh Iterators.
void RE_compositor_free(Render &render)
unsigned char uint8_t
Definition BKE_text.h:79
void RE_compositor_execute(const render::CompositorInputData input_data)