|
Blender V4.3
|
Inherits blender::fn::lazy_function::LazyFunction.
Public Member Functions | |
| PartialEvaluationTestFunction () | |
| void | execute_impl (Params ¶ms, const Context &) const override |
| void | possible_output_dependencies (const int output_index, FunctionRef< void(Span< int >)> fn) const override |
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 |
| 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 119 of file FN_lazy_function_test.cc.
|
inline |
Definition at line 121 of file FN_lazy_function_test.cc.
References blender::fn::lazy_function::LazyFunction::allow_missing_requested_inputs_, blender::fn::lazy_function::LazyFunction::debug_name_, blender::CPPType::get(), blender::fn::lazy_function::LazyFunction::inputs_, blender::fn::lazy_function::LazyFunction::outputs_, and blender::fn::lazy_function::Used.
|
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 133 of file FN_lazy_function_test.cc.
|
inlineoverridevirtual |
Calls fn with the input indices that the given output_index may depend on. By default every output depends on every input.
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 147 of file FN_lazy_function_test.cc.