|
Blender V4.3
|
Inherits blender::fn::lazy_function::LazyFunction.
Public Member Functions | |
| LazyFunctionForSimulationZone (const bNode &sim_output_bnode, const LazyFunction &fn) | |
| void | execute_impl (lf::Params ¶ms, const lf::Context &context) const override |
| void * | init_storage (LinearAllocator<> &allocator) const override |
| void | destruct_storage (void *storage) const override |
| std::string | input_name (const int i) const override |
| std::string | output_name (const int i) const override |
Public Member Functions inherited from blender::fn::lazy_function::LazyFunction | |
| virtual | ~LazyFunction ()=default |
| virtual std::string | name () 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 |
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 |
Definition at line 1457 of file geometry_nodes_lazy_function.cc.
|
inline |
Definition at line 1463 of file geometry_nodes_lazy_function.cc.
References blender::fn::lazy_function::LazyFunction::inputs(), and blender::fn::lazy_function::LazyFunction::outputs().
|
inlineoverridevirtual |
Destruct the storage created in init_storage.
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 1494 of file geometry_nodes_lazy_function.cc.
References blender::fn::lazy_function::LazyFunction::destruct_storage().
|
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 1471 of file geometry_nodes_lazy_function.cc.
References blender::nodes::GeoNodesLFUserData::compute_context, blender::fn::lazy_function::LazyFunction::execute(), blender::nodes::GeoNodesLFUserData::log_socket_values, params, blender::nodes::should_log_socket_values_for_context(), and blender::fn::lazy_function::Context::storage.
|
inlineoverridevirtual |
Allocates storage for this function. The storage will be passed to every call to execute. If the function does not keep track of any state, this does not have to be implemented.
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 1489 of file geometry_nodes_lazy_function.cc.
References blender::fn::lazy_function::LazyFunction::init_storage().
|
inlineoverridevirtual |
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 1499 of file geometry_nodes_lazy_function.cc.
References blender::fn::lazy_function::LazyFunction::input_name().
|
inlineoverridevirtual |
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 1504 of file geometry_nodes_lazy_function.cc.
References blender::fn::lazy_function::LazyFunction::output_name().