Blender V5.0
COM_compositor.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include <cstdint>
8
9#include "DNA_node_types.h"
10
11namespace blender::compositor {
12class RenderContext;
13class Profiler;
14enum class OutputTypes : uint8_t;
15} // namespace blender::compositor
16
17struct Render;
18
51
52void COM_execute(Render *render,
53 RenderData *render_data,
54 Scene *scene,
55 bNodeTree *node_tree,
56 const char *view_name,
60
65void COM_deinitialize();
66
71// void COM_clear_caches(); // NOT YET WRITTEN
void COM_execute(Render *render, RenderData *render_data, Scene *scene, bNodeTree *node_tree, const char *view_name, blender::compositor::RenderContext *render_context, blender::compositor::Profiler *profiler, blender::compositor::OutputTypes needed_outputs)
The main method that is used to execute the compositor tree. It can be executed during editing (blenk...
void COM_deinitialize()
Deinitialize the compositor caches and allocated memory. Use COM_clear_caches to only free the caches...
Scene * scene