Blender V5.0
BKE_bake_items_socket.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "BLI_function_ref.hh"
12
13#include "DNA_node_types.h"
14
15#include "BKE_bake_items.hh"
18
19namespace blender::bke::bake {
20
40
47 const BakeSocketConfig &config,
48 BakeDataBlockMap *data_block_map);
49
60 Span<BakeItem *> bake_items,
61 const BakeSocketConfig &config,
62 BakeDataBlockMap *data_block_map,
63 FunctionRef<std::shared_ptr<AttributeFieldInput>(int socket_index, const CPPType &)>
64 make_attribute_field);
65
71 Span<const BakeItem *> bake_items,
72 const BakeSocketConfig &config,
73 BakeDataBlockMap *data_block_map,
74 FunctionRef<std::shared_ptr<AttributeFieldInput>(int, const CPPType &)> make_attribute_field);
75
76} // namespace blender::bke::bake
Array< std::unique_ptr< BakeItem > > move_socket_values_to_bake_items(MutableSpan< SocketValueVariant > socket_values, const BakeSocketConfig &config, BakeDataBlockMap *data_block_map)
Vector< SocketValueVariant > copy_bake_items_to_socket_values(Span< const BakeItem * > bake_items, const BakeSocketConfig &config, BakeDataBlockMap *data_block_map, FunctionRef< std::shared_ptr< AttributeFieldInput >(int, const CPPType &)> make_attribute_field)
Vector< SocketValueVariant > move_bake_items_to_socket_values(Span< BakeItem * > bake_items, const BakeSocketConfig &config, BakeDataBlockMap *data_block_map, FunctionRef< std::shared_ptr< AttributeFieldInput >(int socket_index, const CPPType &)> make_attribute_field)
Vector< Vector< int, 1 > > geometries_by_attribute