|
Blender V4.3
|
Inherits blender::fn::lazy_function::LazyFunction.
Public Member Functions | |
| LazyFunctionForViewerNode (const bNode &bnode, MutableSpan< int > r_lf_index_by_bsocket) | |
| void | execute_impl (lf::Params ¶ms, const lf::Context &context) 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 |
| 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 |
The viewer node does not have outputs. Instead it is executed because the executor knows that it has side effects. The side effect is that the inputs to the viewer are logged.
Definition at line 740 of file geometry_nodes_lazy_function.cc.
|
inline |
Definition at line 747 of file geometry_nodes_lazy_function.cc.
References blender::fn::lazy_function::LazyFunction::debug_name_, blender::Span< T >::first(), blender::fn::lazy_function::LazyFunction::inputs_, blender::Span< T >::is_empty(), blender::nodes::lazy_function_interface_from_node(), and blender::fn::lazy_function::LazyFunction::outputs_.
|
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 767 of file geometry_nodes_lazy_function.cc.
References BLI_assert, blender::bke::GeometryComponent::Curve, blender::bke::SocketValueVariant::extract(), blender::bke::GeometryComponent::GreasePencil, blender::bke::GeometryComponent::Instance, blender::nodes::geo_eval_log::GeoTreeLogger::log_viewer_node(), blender::bke::GeometryComponent::Mesh, params, blender::bke::GeometryComponent::PointCloud, bNode::storage, blender::bke::try_capture_field_on_geometry(), and blender::bke::try_detect_field_domain().