|
Blender V5.0
|
Inherits blender::fn::lazy_function::LazyFunction.
Public Member Functions | |
| LazyFunctionForJoinReferenceSets (const int amount) | |
| void | execute_impl (lf::Params ¶ms, const lf::Context &) const override |
| int | get_use_input (const int i) const |
| int | get_reference_set_input (const int i) const |
| Public Member Functions inherited from blender::fn::lazy_function::LazyFunction | |
| virtual | ~LazyFunction ()=default |
| virtual std::string | name () const |
| virtual std::string | input_name (int index) const |
| virtual std::string | output_name (int index) const |
| virtual void * | init_storage (LinearAllocator<> &allocator) const |
| virtual void | destruct_storage (void *storage) const |
| virtual void | possible_output_dependencies (int output_index, FunctionRef< void(Span< int >)> fn) const |
| bool | always_used_inputs_available (const Params ¶ms) const |
| bool | allow_missing_requested_inputs () const |
| Span< Input > | inputs () const |
| Span< Output > | outputs () const |
| void | execute (Params ¶ms, const Context &context) const |
Static Public Member Functions | |
| static const LazyFunctionForJoinReferenceSets & | get_cached (const int amount, ResourceScope &scope) |
Additional Inherited Members | |
| Protected Attributes inherited from blender::fn::lazy_function::LazyFunction | |
| const char * | debug_name_ = "unknown" |
| Vector< Input > | inputs_ |
| Vector< Output > | outputs_ |
| bool | allow_missing_requested_inputs_ = false |
Conditionally joins multiple attribute sets. Each input attribute set can be disabled with a corresponding boolean input.
Definition at line 1382 of file geometry_nodes_lazy_function.cc.
|
inline |
Definition at line 1386 of file geometry_nodes_lazy_function.cc.
References blender::fn::lazy_function::LazyFunction::debug_name_, blender::CPPType::get(), i, blender::fn::lazy_function::LazyFunction::inputs_, blender::fn::lazy_function::Maybe, and blender::fn::lazy_function::LazyFunction::outputs_.
Referenced by get_cached().
|
inlineoverridevirtual |
Needs to be implemented by subclasses. This is separate from execute so that additional debugging logic can be implemented in execute.
Implements blender::fn::lazy_function::LazyFunction.
Definition at line 1397 of file geometry_nodes_lazy_function.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), i, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::fn::lazy_function::LazyFunction::name(), blender::bke::GeometryNodesReferenceSet::names, params, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
|
inlinestatic |
Cache for functions small amounts to avoid to avoid building them many times.
Definition at line 1450 of file geometry_nodes_lazy_function.cc.
References blender::ResourceScope::construct(), and LazyFunctionForJoinReferenceSets().
|
inline |
Definition at line 1442 of file geometry_nodes_lazy_function.cc.
References i.
|
inline |
Definition at line 1437 of file geometry_nodes_lazy_function.cc.
References i.