Blender
V5.3
source
blender
compositor
COM_closure_zone_operation.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2026 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include <string>
8
9
#include "
BLI_map.hh
"
10
11
#include "
COM_result.hh
"
12
#include "
COM_zone_operation.hh
"
13
14
namespace
blender::bke
{
15
class
bNodeTreeZone
;
16
}
// namespace blender::bke
17
18
namespace
blender::compositor
{
19
20
/* ------------------------------------------------------------------------------------------------
21
* Closure Zone Operation
22
*
23
* An operation that returns a closure type representing a closure zone. */
24
class
ClosureZoneOperation
:
public
ZoneOperation
{
25
public
:
26
using
ZoneOperation::ZoneOperation
;
27
28
void
execute
()
override
;
29
30
private
:
31
/* Get a map of the values that the closure captures from outside of the zone, which corresponds
32
* to the external values of the zone tree operation, identified by the identifier returned by
33
* ZoneTreeOperation::get_external_input_identifier. */
34
Map<std::string, Result *>
get_captured_values();
35
};
36
37
}
// namespace blender::compositor
BLI_map.hh
COM_result.hh
COM_zone_operation.hh
blender::Map
Definition
BLI_map.hh:129
blender::bke::bNodeTreeZone
Definition
BKE_node_tree_zones.hh:23
blender::compositor::ClosureZoneOperation
Definition
COM_closure_zone_operation.hh:24
blender::compositor::ClosureZoneOperation::ZoneOperation
ZoneOperation(Context &context, const bke::bNodeTreeZone &zone, const ComputeContext &compute_context)
Definition
zone_operation.cc:24
blender::compositor::ClosureZoneOperation::execute
void execute() override
Definition
closure_zone_operation.cc:20
blender::compositor::ZoneOperation::ZoneOperation
ZoneOperation(Context &context, const bke::bNodeTreeZone &zone, const ComputeContext &compute_context)
Definition
zone_operation.cc:24
blender::bke
Definition
AS_asset_library.hh:32
blender::compositor
Definition
BKE_node.hh:77
Generated on
for Blender by
doxygen
1.18.0