Blender V5.0
COM_implicit_input_operation.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2025 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "BLI_string_ref.hh"
8
9#include "COM_context.hh"
11#include "COM_operation.hh"
12#include "COM_result.hh"
13
14namespace blender::compositor {
15
16/* ------------------------------------------------------------------------------------------------
17 * Implicit Input Operation
18 *
19 * An operation that outputs a result representing a specific implicit input. */
21 private:
22 /* The identifier of the output. */
23 static const StringRef output_identifier_;
24 /* The type of implicit input needed. */
25 ImplicitInput implicit_input_;
26
27 public:
29
30 void execute() override;
31
32 /* Get a reference to the output result of the operation, this essentially calls the super
33 * get_result with the output identifier of the operation. */
35};
36
37} // namespace blender::compositor
ImplicitInputOperation(Context &context, const ImplicitInput implicit_input)
Operation(Context &context)
Definition operation.cc:22