Blender
V5.3
source
blender
compositor
COM_node_group_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 "
DNA_node_types.h
"
8
9
#include "
BKE_node.hh
"
10
11
#include "
COM_context.hh
"
12
#include "
COM_node_operation.hh
"
13
#include "
COM_operation.hh
"
14
#include "
COM_pixel_operation.hh
"
15
#include "
COM_result.hh
"
16
17
namespace
blender
{
18
class
ComputeContext
;
19
}
// namespace blender
20
21
namespace
blender::compositor
{
22
23
/* ------------------------------------------------------------------------------------------------
24
* Node Group Operation
25
*
26
* The node group operation represents and evaluates a node group. */
27
class
NodeGroupOperation
:
public
Operation
{
28
private
:
29
/* The node group that this operation represents. */
30
const
bNodeTree
&node_group_;
31
/* A compute context that identifies the particular group node that uses this node group or the
32
* scene for the top-level compositor node tree. */
33
const
ComputeContext
&compute_context_;
34
35
public
:
36
/* Populate the output results based on the node group interface outputs and populate the input
37
* descriptors based on the node group interface inputs. */
38
NodeGroupOperation
(
Context
&
context
,
39
const
bNodeTree
&
node_group
,
40
const
ComputeContext
&compute_context);
41
42
/* Compile and evaluate the node group. */
43
void
execute
()
override
;
44
45
/* An accessors for node_group_. */
46
const
bNodeTree
&
node_group
()
const
;
47
};
48
49
}
// namespace blender::compositor
BKE_node.hh
COM_context.hh
COM_node_operation.hh
COM_operation.hh
COM_pixel_operation.hh
COM_result.hh
DNA_node_types.h
blender::ComputeContext
Definition
BLI_compute_context.hh:80
blender::compositor::Context
Definition
COM_context.hh:53
blender::compositor::NodeGroupOperation::node_group
const bNodeTree & node_group() const
Definition
node_group_operation.cc:98
blender::compositor::NodeGroupOperation::execute
void execute() override
Definition
node_group_operation.cc:80
blender::compositor::NodeGroupOperation::NodeGroupOperation
NodeGroupOperation(Context &context, const bNodeTree &node_group, const ComputeContext &compute_context)
Definition
node_group_operation.cc:25
blender::compositor::Operation::Operation
Operation(Context &context)
Definition
operation.cc:22
blender::compositor::Operation::context
Context & context() const
Definition
operation.cc:57
blender::compositor
Definition
BKE_node.hh:77
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::bNodeTree
Definition
DNA_node_types.h:1891
Generated on
for Blender by
doxygen
1.18.0