17 b.add_input<
decl::Int>(
"Face Set").hide_value().field_on_all();
40 if (
Mesh *mesh = geometry.get_mesh_for_write()) {
42 mesh->attributes_for_write().remove(
".sculpt_face_set");
53 params.set_output(
"Mesh", std::move(geometry));
#define NODE_CLASS_GEOMETRY
#define NOD_REGISTER_NODE(REGISTER_FUNC)
bool depends_on_input() const
const FieldNode & node() const
local_group_size(16, 16) .push_constant(Type b
ccl_device_inline bool is_zero(const float2 a)
bool try_capture_field_on_geometry(MutableAttributeAccessor attributes, const fn::FieldContext &field_context, const StringRef attribute_id, AttrDomain domain, const fn::Field< bool > &selection, const fn::GField &field)
void node_register_type(bNodeType *ntype)
void evaluate_constant_field(const GField &field, void *r_value)
void search_link_ops_for_tool_node(GatherLinkSearchOpParams ¶ms)
bool check_tool_context_and_error(GeoNodeExecParams ¶ms)
void geo_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
void modify_geometry_sets(ForeachSubGeometryCallback callback)
NodeGeometryExecFunction geometry_node_execute
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
NodeDeclareFunction declare