Blender V5.3
blender::nodes::node_geo_sort_elements_cc Namespace Reference

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_layout (ui::Layout &layout, bContext *, PointerRNA *ptr)
static void node_init (bNodeTree *, bNode *node)
static std::optional< Array< int > > sorted_indices (const fn::FieldContext &field_context, const int domain_size, const Field< bool > selection_field, const Field< int > group_id_field, const Field< float > weight_field)
static void node_geo_exec (GeoNodeExecParams params)
template<typename T>
static Vector< EnumPropertyItem > items_value_in (const Span< T > values, const EnumPropertyItem *src_items)
static void node_rna (StructRNA *srna)
static void node_register ()

Function Documentation

◆ items_value_in()

template<typename T>
Vector< EnumPropertyItem > blender::nodes::node_geo_sort_elements_cc::items_value_in ( const Span< T > values,
const EnumPropertyItem * src_items )
static

◆ node_declare()

void blender::nodes::node_geo_sort_elements_cc::node_declare ( NodeDeclarationBuilder & b)
static

◆ node_geo_exec()

◆ node_init()

void blender::nodes::node_geo_sort_elements_cc::node_init ( bNodeTree * ,
bNode * node )
static

Definition at line 46 of file node_geo_sort_elements.cc.

References node, node_init(), and blender::bke::Point.

Referenced by node_init(), and node_register().

◆ node_layout()

void blender::nodes::node_geo_sort_elements_cc::node_layout ( ui::Layout & layout,
bContext * ,
PointerRNA * ptr )
static

Definition at line 41 of file node_geo_sort_elements.cc.

References node_layout(), blender::ui::Layout::prop(), and UI_ITEM_NONE.

Referenced by node_layout(), and node_register().

◆ node_register()

◆ node_rna()

◆ sorted_indices()

std::optional< Array< int > > blender::nodes::node_geo_sort_elements_cc::sorted_indices ( const fn::FieldContext & field_context,
const int domain_size,
const Field< bool > selection_field,
const Field< int > group_id_field,
const Field< float > weight_field )
static