|
Blender V4.3
|
#include <FN_lazy_function_graph_executor.hh>
Inherits blender::fn::lazy_function::LazyFunction.
Public Types | |
| using | Logger = GraphExecutorLogger |
| using | SideEffectProvider = GraphExecutorSideEffectProvider |
| using | NodeExecuteWrapper = GraphExecutorNodeExecuteWrapper |
Public Member Functions | |
| GraphExecutor (const Graph &graph, Vector< const GraphInputSocket * > graph_inputs, Vector< const GraphOutputSocket * > graph_outputs, const Logger *logger, const SideEffectProvider *side_effect_provider, const NodeExecuteWrapper *node_execute_wrapper) | |
| void * | init_storage (LinearAllocator<> &allocator) const override |
| void | destruct_storage (void *storage) const override |
| std::string | input_name (int index) const override |
| std::string | output_name (int index) 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 |
Friends | |
| class | Executor |
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 77 of file FN_lazy_function_graph_executor.hh.
Definition at line 79 of file FN_lazy_function_graph_executor.hh.
| using blender::fn::lazy_function::GraphExecutor::NodeExecuteWrapper = GraphExecutorNodeExecuteWrapper |
Definition at line 81 of file FN_lazy_function_graph_executor.hh.
| using blender::fn::lazy_function::GraphExecutor::SideEffectProvider = GraphExecutorSideEffectProvider |
Definition at line 80 of file FN_lazy_function_graph_executor.hh.
| blender::fn::lazy_function::GraphExecutor::GraphExecutor | ( | const Graph & | graph, |
| Vector< const GraphInputSocket * > | graph_inputs, | ||
| Vector< const GraphOutputSocket * > | graph_outputs, | ||
| const Logger * | logger, | ||
| const SideEffectProvider * | side_effect_provider, | ||
| const NodeExecuteWrapper * | node_execute_wrapper ) |
Definition at line 1463 of file lazy_function_graph_executor.cc.
References blender::fn::lazy_function::LazyFunction::allow_missing_requested_inputs_, BLI_assert, blender::fn::lazy_function::LazyFunction::debug_name_, blender::fn::lazy_function::Socket::index(), blender::fn::lazy_function::LazyFunction::inputs_, blender::fn::lazy_function::Node::is_interface(), blender::fn::lazy_function::Maybe, blender::fn::lazy_function::Socket::node(), blender::fn::lazy_function::Graph::nodes(), blender::fn::lazy_function::LazyFunction::outputs_, and blender::fn::lazy_function::Socket::type().
|
overridevirtual |
Destruct the storage created in init_storage.
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 1534 of file lazy_function_graph_executor.cc.
|
overridevirtual |
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 1528 of file lazy_function_graph_executor.cc.
References blender::LinearAllocator< Allocator >::construct().
|
overridevirtual |
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 1539 of file lazy_function_graph_executor.cc.
References blender::fn::lazy_function::Socket::name().
|
overridevirtual |
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 1545 of file lazy_function_graph_executor.cc.
References blender::fn::lazy_function::Socket::name().
|
friend |
Definition at line 121 of file FN_lazy_function_graph_executor.hh.
| int blender::fn::lazy_function::GraphExecutor::loaded_inputs_array_offset |
Definition at line 116 of file FN_lazy_function_graph_executor.hh.
| int blender::fn::lazy_function::GraphExecutor::node_states_array_offset |
Definition at line 115 of file FN_lazy_function_graph_executor.hh.
Definition at line 117 of file FN_lazy_function_graph_executor.hh.
| int blender::fn::lazy_function::GraphExecutor::total_size |
Definition at line 118 of file FN_lazy_function_graph_executor.hh.