Blender
V5.0
source
blender
compositor
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
"
10
#include "
COM_input_descriptor.hh
"
11
#include "
COM_operation.hh
"
12
#include "
COM_result.hh
"
13
14
namespace
blender::compositor
{
15
16
/* ------------------------------------------------------------------------------------------------
17
* Implicit Input Operation
18
*
19
* An operation that outputs a result representing a specific implicit input. */
20
class
ImplicitInputOperation
:
public
Operation
{
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
:
28
ImplicitInputOperation
(
Context
&
context
,
const
ImplicitInput
implicit_input);
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. */
34
Result
&
get_result
();
35
};
36
37
}
// namespace blender::compositor
BLI_string_ref.hh
COM_context.hh
COM_input_descriptor.hh
COM_operation.hh
COM_result.hh
blender::StringRef
Definition
BLI_string_ref.hh:150
blender::compositor::Context
Definition
COM_context.hh:44
blender::compositor::ImplicitInputOperation::ImplicitInputOperation
ImplicitInputOperation(Context &context, const ImplicitInput implicit_input)
Definition
implicit_input_operation.cc:29
blender::compositor::ImplicitInputOperation::execute
void execute() override
Definition
implicit_input_operation.cc:37
blender::compositor::ImplicitInputOperation::get_result
Result & get_result()
Definition
implicit_input_operation.cc:52
blender::compositor::Operation::Operation
Operation(Context &context)
Definition
operation.cc:22
blender::compositor::Operation::context
Context & context() const
Definition
operation.cc:163
blender::compositor::Result
Definition
COM_result.hh:100
blender::compositor
Definition
BKE_node.hh:77
blender::compositor::ImplicitInput
ImplicitInput
Definition
COM_input_descriptor.hh:33
Generated on
for Blender by
doxygen
1.16.1