|
Blender
V2.93
|
#include <NOD_node_tree_multi_function.hh>
Inherited by blender::nodes::NodeMFNetworkBuilder, and blender::nodes::SocketMFNetworkBuilder.
Public Member Functions | |
| MFNetworkBuilderBase (CommonMFNetworkBuilderData &common) | |
| fn::MFNetwork & | network () |
| MFNetworkTreeMap & | network_map () |
| ResourceScope & | resource_scope () |
| template<typename T , typename... Args> | |
| T & | construct_fn (Args &&... args) |
Protected Attributes | |
| CommonMFNetworkBuilderData & | common_ |
Definition at line 199 of file NOD_node_tree_multi_function.hh.
|
inline |
Definition at line 204 of file NOD_node_tree_multi_function.hh.
|
inline |
Constructs a new function that will live at least as long as the MFNetwork.
Definition at line 236 of file NOD_node_tree_multi_function.hh.
References blender::ResourceScope::add(), blender::LinearAllocator< Allocator >::allocate(), BLI_STATIC_ASSERT, buffer, common_, blender::ResourceScope::linear_allocator(), blender::nodes::CommonMFNetworkBuilderData::scope, and T.
|
inline |
Returns the network that is currently being built.
Definition at line 211 of file NOD_node_tree_multi_function.hh.
References common_, and blender::nodes::CommonMFNetworkBuilderData::network.
Referenced by sh_node_math_expand_in_mf_network().
|
inline |
Returns the map between the node tree and the multi-function network that is being built.
Definition at line 219 of file NOD_node_tree_multi_function.hh.
References common_, and blender::nodes::CommonMFNetworkBuilderData::network_map.
Referenced by sh_node_math_expand_in_mf_network().
|
inline |
Returns a resource collector that will only be destructed after the multi-function network is destructed.
Definition at line 228 of file NOD_node_tree_multi_function.hh.
References common_, and blender::nodes::CommonMFNetworkBuilderData::scope.
Referenced by blender::nodes::socket_expand_in_mf_network().
|
protected |
Definition at line 201 of file NOD_node_tree_multi_function.hh.
Referenced by construct_fn(), network(), network_map(), resource_scope(), blender::nodes::SocketMFNetworkBuilder::set_generator_fn(), and blender::nodes::NodeMFNetworkBuilder::set_matching_fn().