|
Blender V4.3
|
#include <FN_lazy_function_execute.hh>
Inherits blender::fn::lazy_function::Params.
Public Member Functions | |
RemappedParams. | |
| RemappedParams (const LazyFunction &fn, Params &base_params, Span< int > input_map, Span< int > output_map, bool &multi_threading_enabled) | |
| void * | try_get_input_data_ptr_impl (const int index) const override |
| void * | try_get_input_data_ptr_or_request_impl (const int index) override |
| void * | get_output_data_ptr_impl (const int index) override |
| void | output_set_impl (const int index) override |
| bool | output_was_set_impl (const int index) const override |
| ValueUsage | get_output_usage_impl (const int index) const override |
| void | set_input_unused_impl (const int index) override |
| bool | try_enable_multi_threading_impl () override |
Public Member Functions inherited from blender::fn::lazy_function::Params | |
| Params (const LazyFunction &fn, bool allow_multi_threading_initially) | |
| void * | try_get_input_data_ptr (int index) const |
| void * | try_get_input_data_ptr_or_request (int index) |
| void * | get_output_data_ptr (int index) |
| void | output_set (int index) |
| bool | output_was_set (int index) const |
| ValueUsage | get_output_usage (int index) const |
| void | set_input_unused (int index) |
| template<typename T > | |
| T | extract_input (int index) |
| template<typename T > | |
| T & | get_input (int index) const |
| template<typename T > | |
| T * | try_get_input_data_ptr (int index) const |
| template<typename T > | |
| T * | try_get_input_data_ptr_or_request (int index) |
| template<typename T > | |
| void | set_output (int index, T &&value) |
| bool | try_enable_multi_threading () |
Additional Inherited Members | |
Public Attributes inherited from blender::fn::lazy_function::Params | |
| const LazyFunction & | fn_ |
| std::thread::id | main_thread_id_ |
| std::atomic< bool > | allow_multi_threading_ |
Wraps an existing Params. This should be used when a lazy-function internally contains another lazy-function that handles a subset or the inputs and outputs.
Definition at line 53 of file FN_lazy_function_execute.hh.
| blender::fn::lazy_function::RemappedParams::RemappedParams | ( | const LazyFunction & | fn, |
| Params & | base_params, | ||
| Span< int > | input_map, | ||
| Span< int > | output_map, | ||
| bool & | multi_threading_enabled ) |
Definition at line 82 of file lazy_function_execute.cc.
|
overridevirtual |
Implements blender::fn::lazy_function::Params.
Definition at line 105 of file lazy_function_execute.cc.
References blender::fn::lazy_function::Params::get_output_data_ptr().
|
overridevirtual |
Implements blender::fn::lazy_function::Params.
Definition at line 120 of file lazy_function_execute.cc.
References blender::fn::lazy_function::Params::get_output_usage().
|
overridevirtual |
Implements blender::fn::lazy_function::Params.
Definition at line 110 of file lazy_function_execute.cc.
References blender::fn::lazy_function::Params::output_set().
|
overridevirtual |
Implements blender::fn::lazy_function::Params.
Definition at line 115 of file lazy_function_execute.cc.
References blender::fn::lazy_function::Params::output_was_set().
|
overridevirtual |
Implements blender::fn::lazy_function::Params.
Definition at line 125 of file lazy_function_execute.cc.
References blender::fn::lazy_function::Params::set_input_unused().
|
overridevirtual |
Reimplemented from blender::fn::lazy_function::Params.
Definition at line 130 of file lazy_function_execute.cc.
References blender::fn::lazy_function::Params::try_enable_multi_threading().
|
overridevirtual |
Methods that need to be implemented by subclasses. Those are separate from the non-virtual methods above to make it easy to insert additional debugging logic on top of the implementations.
Implements blender::fn::lazy_function::Params.
Definition at line 95 of file lazy_function_execute.cc.
References blender::fn::lazy_function::Params::try_get_input_data_ptr().
|
overridevirtual |
Implements blender::fn::lazy_function::Params.
Definition at line 100 of file lazy_function_execute.cc.
References blender::fn::lazy_function::Params::try_get_input_data_ptr_or_request().