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