17 .
description(
"The number of faces that use each edge as one of their sides");
23 : bke::MeshFieldInput(
CPPType::get<
int>(),
"Edge Neighbor Count Field")
29 const AttrDomain domain,
34 return mesh.attributes().adapt_domain<
int>(
51 return AttrDomain::Edge;
57 Field<int> neighbor_count_field{std::make_shared<EdgeNeighborCountFieldInput>()};
58 params.set_output(
"Face Count", std::move(neighbor_count_field));
65 &ntype, GEO_NODE_INPUT_MESH_EDGE_NEIGHBORS,
"Edge Neighbors",
NODE_CLASS_INPUT);
#define NOD_REGISTER_NODE(REGISTER_FUNC)
static VArray ForContainer(ContainerT container)
local_group_size(16, 16) .push_constant(Type b
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int
void count_indices(Span< int > indices, MutableSpan< int > counts)
void node_register_type(bNodeType *ntype)
void geo_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
unsigned __int64 uint64_t
NodeGeometryExecFunction geometry_node_execute
NodeDeclareFunction declare