Blender V4.5
BKE_compositor.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
8
9#pragma once
10
11#include <string>
12
13#include "BLI_set.hh"
14
15struct Scene;
16struct ViewLayer;
17
19
20/* Get the set of all passes used by the compositor for the given view layer, identified by their
21 * pass names. */
22Set<std::string> get_used_passes(const Scene &scene, const ViewLayer *view_layer);
23
24} // namespace blender::bke::compositor
Set< std::string > get_used_passes(const Scene &scene, const ViewLayer *view_layer)