|
Blender V4.5
|
Classes | |
| class | SampleIndexFunction |
Functions | |
| NODE_STORAGE_FUNCS (NodeGeometrySampleIndex) | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | node_init (bNodeTree *, bNode *node) |
| static void | node_gather_link_searches (GatherLinkSearchOpParams ¶ms) |
| static bool | component_is_available (const GeometrySet &geometry, const GeometryComponent::Type type, const AttrDomain domain) |
| static const GeometryComponent * | find_source_component (const GeometrySet &geometry, const AttrDomain domain) |
| template<typename T> | |
| void | copy_with_clamped_indices (const VArray< T > &src, const VArray< int > &indices, const IndexMask &mask, MutableSpan< T > dst) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 75 of file node_geo_sample_index.cc.
References blender::bke::GeometryComponent::attribute_domain_size(), and component_is_available().
Referenced by component_is_available(), and find_source_component().
| void blender::nodes::node_geo_sample_index_cc::copy_with_clamped_indices | ( | const VArray< T > & | src, |
| const VArray< int > & | indices, | ||
| const IndexMask & | mask, | ||
| MutableSpan< T > | dst ) |
Definition at line 107 of file node_geo_sample_index.cc.
References copy_with_clamped_indices(), blender::devirtualize_varray2(), blender::GrainSize::GrainSize(), i, blender::VArrayCommon< T >::index_range(), blender::IndexRange::last(), and mask().
Referenced by blender::nodes::node_geo_sample_index_cc::SampleIndexFunction::call(), and copy_with_clamped_indices().
|
static |
Definition at line 86 of file node_geo_sample_index.cc.
References component_is_available(), and find_source_component().
Referenced by blender::nodes::node_geo_sample_index_cc::SampleIndexFunction::evaluate_field(), find_source_component(), and node_geo_exec().
|
static |
Definition at line 20 of file node_geo_sample_index.cc.
References b, blender::nodes::SocketDeclaration::description, and node_declare().
Referenced by node_declare(), and node_register().
|
static |
Definition at line 58 of file node_geo_sample_index.cc.
References blender::nodes::GatherLinkSearchOpParams::add_item(), blender::nodes::LinkSearchOpParams::add_node(), CD_PROP_STRING, IFACE_, blender::nodes::NodeDeclaration::inputs, node_gather_link_searches(), blender::nodes::GatherLinkSearchOpParams::node_type(), blender::nodes::GatherLinkSearchOpParams::other_socket(), blender::nodes::search_link_ops_for_declarations(), blender::bke::socket_type_to_custom_data_type(), blender::bke::bNodeType::static_declaration, bNodeSocket::type, and blender::nodes::LinkSearchOpParams::update_and_connect_available_socket().
Referenced by node_gather_link_searches(), and node_register().
|
static |
Definition at line 195 of file node_geo_sample_index.cc.
References blender::fn::FieldEvaluator::add(), BUFFER_FOR_CPP_TYPE_VALUE, blender::fn::GFieldBase< NodePtr >::cpp_type(), blender::nodes::FieldOperation::Create(), data, blender::fn::FieldEvaluator::evaluate(), blender::nodes::GeoNodeExecParams::extract_input(), find_source_component(), blender::fn::FieldEvaluator::get_evaluated(), blender::nodes::GField::GField(), blender::IndexRange::IndexRange(), blender::fn::make_constant_field(), mask(), blender::nodes::GeoNodeExecParams::node(), node_geo_exec(), and blender::nodes::GeoNodeExecParams::set_output().
Referenced by node_geo_exec(), and node_register().
Definition at line 49 of file node_geo_sample_index.cc.
References CD_PROP_FLOAT, data, MEM_callocN(), node_init(), and bNode::storage.
Referenced by node_init(), and node_register().
|
static |
Definition at line 42 of file node_geo_sample_index.cc.
References node_layout(), uiLayout::prop(), and UI_ITEM_NONE.
Referenced by node_layout(), and node_register().
|
static |
Definition at line 243 of file node_geo_sample_index.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, blender::bke::bNodeType::gather_link_search_ops, GEO_NODE_SAMPLE_INDEX, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, NODE_CLASS_GEOMETRY, node_copy_standard_storage(), node_declare(), node_free_standard_storage(), node_gather_link_searches(), node_geo_exec(), node_init(), node_layout(), node_register(), blender::bke::node_register_type(), blender::bke::node_type_storage(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
| blender::nodes::node_geo_sample_index_cc::NODE_STORAGE_FUNCS | ( | NodeGeometrySampleIndex | ) |
References NODE_STORAGE_FUNCS().
Referenced by NODE_STORAGE_FUNCS().