|
Blender V4.3
|
Inherits blender::fn::lazy_function::LazyFunction.
Public Member Functions | |
| LazyFunctionForBakeNode (const bNode &node, GeometryNodesLazyFunctionGraphInfo &lf_graph_info) | |
| void | execute_impl (lf::Params ¶ms, const lf::Context &context) const final |
| void | set_default_outputs (lf::Params ¶ms) const |
| void | pass_through (lf::Params ¶ms, GeoNodesLFUserData &user_data, bke::bake::BakeDataBlockMap *data_block_map) const |
| void | store (lf::Params ¶ms, GeoNodesLFUserData &user_data, bke::bake::BakeDataBlockMap *data_block_map, const sim_output::StoreNewState &info) const |
| void | output_cached_state (lf::Params ¶ms, GeoNodesLFUserData &user_data, bke::bake::BakeDataBlockMap *data_block_map, const bake::BakeStateRef &bake_state) const |
| void | output_mixed_cached_state (lf::Params ¶ms, bke::bake::BakeDataBlockMap *data_block_map, const Object &self_object, const ComputeContext &compute_context, const bake::BakeStateRef &prev_state, const bake::BakeStateRef &next_state, const float mix_factor) const |
| std::optional< bake::BakeState > | get_bake_state_from_inputs (lf::Params ¶ms, bke::bake::BakeDataBlockMap *data_block_map) const |
| void | move_bake_state_to_values (bake::BakeState bake_state, bke::bake::BakeDataBlockMap *data_block_map, const Object &self_object, const ComputeContext &compute_context, Span< void * > r_output_values) const |
| void | copy_bake_state_to_values (const bake::BakeStateRef &bake_state, bke::bake::BakeDataBlockMap *data_block_map, const Object &self_object, const ComputeContext &compute_context, Span< void * > r_output_values) const |
| std::shared_ptr< AttributeFieldInput > | make_attribute_field (const Object &self_object, const ComputeContext &compute_context, const NodeGeometryBakeItem &item, const CPPType &type) const |
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 |
Definition at line 279 of file node_geo_bake.cc.
|
inline |
Definition at line 285 of file node_geo_bake.cc.
References blender::fn::lazy_function::LazyFunction::debug_name_, blender::nodes::node_geo_bake_cc::get_item_cpp_type(), blender::Span< T >::index_range(), blender::fn::lazy_function::LazyFunction::inputs_, NodeGeometryBake::items, NodeGeometryBake::items_num, blender::nodes::GeometryNodeLazyFunctionGraphMapping::lf_index_by_bsocket, blender::nodes::node_geo_bake_cc::make_bake_socket_config(), blender::nodes::GeometryNodesLazyFunctionGraphInfo::mapping, NodeGeometryBakeItem::name, blender::fn::lazy_function::LazyFunction::outputs_, and NodeGeometryBakeItem::socket_type.
|
inline |
Definition at line 521 of file node_geo_bake.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::bke::bake::copy_bake_items_to_socket_values(), and blender::bke::bake::BakeStateRef::items_by_id.
|
inlinefinalvirtual |
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 308 of file node_geo_bake.cc.
References blender::nodes::GeoNodesCallData::bake_params, blender::nodes::BakeNodeBehavior::behavior, blender::nodes::GeoNodesLFUserData::call_data, blender::nodes::GeoNodesLFUserData::compute_context, blender::nodes::BakeNodeBehavior::data_block_map, blender::nodes::find_nested_node_id(), blender::nodes::GeoNodesBakeParams::get(), output_cached_state(), output_mixed_cached_state(), params, pass_through(), blender::nodes::GeoNodesCallData::self_object(), set_default_outputs(), store(), and blender::nodes::GeoNodesLFLocalUserData::try_get_tree_logger().
|
inline |
Definition at line 473 of file node_geo_bake.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), NodeGeometryBakeItem::identifier, blender::bke::bake::BakeState::items_by_id, blender::bke::bake::move_socket_values_to_bake_items(), and params.
|
inline |
|
inline |
Definition at line 499 of file node_geo_bake.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::bke::bake::BakeState::items_by_id, and blender::bke::bake::move_bake_items_to_socket_values().
|
inline |
Definition at line 413 of file node_geo_bake.cc.
References blender::nodes::GeoNodesLFUserData::call_data, blender::nodes::GeoNodesLFUserData::compute_context, params, and blender::nodes::GeoNodesCallData::self_object().
Referenced by execute_impl().
|
inline |
Definition at line 432 of file node_geo_bake.cc.
References blender::LinearAllocator< Allocator >::allocate(), blender::CPPType::destruct(), blender::nodes::mix_baked_data_item(), next_state(), and params.
Referenced by execute_impl().
|
inline |
Definition at line 374 of file node_geo_bake.cc.
References blender::nodes::GeoNodesLFUserData::call_data, blender::nodes::GeoNodesLFUserData::compute_context, params, and blender::nodes::GeoNodesCallData::self_object().
Referenced by execute_impl().
|
inline |
Definition at line 369 of file node_geo_bake.cc.
References params, and blender::nodes::set_default_remaining_node_outputs().
Referenced by execute_impl().
|
inline |
Definition at line 398 of file node_geo_bake.cc.
References params, and blender::nodes::sim_output::StoreNewState::store_fn.
Referenced by execute_impl().