Blender
V3.3
|
Functions | |
static void | node_declare (NodeDeclarationBuilder &b) |
static void | set_id_in_component (GeometryComponent &component, const Field< bool > &selection_field, const Field< int > &id_field) |
static void | node_geo_exec (GeoNodeExecParams params) |
|
static |
Definition at line 7 of file node_geo_set_id.cc.
References usdtokens::b(), and N_.
Referenced by register_node_type_geo_set_id().
|
static |
Definition at line 53 of file node_geo_set_id.cc.
References GEO_COMPONENT_TYPE_CURVE, GEO_COMPONENT_TYPE_INSTANCES, GEO_COMPONENT_TYPE_MESH, GEO_COMPONENT_TYPE_POINT_CLOUD, GeometrySet::get_component_for_write(), GeometrySet::has(), params, set_id_in_component(), and type.
Referenced by register_node_type_geo_set_id().
|
static |
Definition at line 15 of file node_geo_set_id.cc.
References ATTR_DOMAIN_INSTANCE, ATTR_DOMAIN_POINT, component(), blender::bke::AttributeAccessor::contains(), blender::bke::AttributeWriter< T >::finish(), GEO_COMPONENT_TYPE_INSTANCES, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), blender::VArrayCommon< T >::materialize(), blender::fn::FieldEvaluator::set_selection(), and blender::bke::AttributeWriter< T >::varray.
Referenced by node_geo_exec().