Blender V4.5
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"
17
18namespace blender::bke::bake {
19
39
45 Span<void *> socket_values, const BakeSocketConfig &config, BakeDataBlockMap *data_block_map);
46
59 Span<BakeItem *> bake_items,
60 const BakeSocketConfig &config,
61 BakeDataBlockMap *data_block_map,
62 FunctionRef<std::shared_ptr<AttributeFieldInput>(int socket_index, const CPPType &)>
63 make_attribute_field,
64 Span<void *> r_socket_values);
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 Span<void *> r_socket_values);
76
77} // namespace blender::bke::bake
Array< std::unique_ptr< BakeItem > > move_socket_values_to_bake_items(Span< void * > socket_values, const BakeSocketConfig &config, BakeDataBlockMap *data_block_map)
void 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, Span< void * > r_socket_values)
void 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, Span< void * > r_socket_values)
Vector< Vector< int, 1 > > geometries_by_attribute