27 b.use_custom_socket_order();
28 b.allow_any_socket_order();
31 .
description(
"Grease Pencil to set the depth order of");
33 .propagate_all_geometry()
34 .align_with_previous();
47 const auto depth_order = params.
get_input<
Mode>(
"Depth Order"_ustr);
57 params.
set_output(
"Grease Pencil"_ustr, std::move(geometry_set));
65 ntype.
ui_name =
"Set Grease Pencil Depth";
Low-level operations for grease pencil.
#define NODE_CLASS_GEOMETRY
#define SET_FLAG_FROM_TEST(value, test, flag)
T extract_input(const UString identifier)
T get_input(const UString identifier) const
void set_output(const UString identifier, T &&value)
void node_register_type(bNodeType &ntype)
void foreach_real_geometry(bke::GeometrySet &geometry, FunctionRef< void(bke::GeometrySet &geometry_set)> fn)
static void node_geo_exec(GeoNodeExecParams params)
NOD_REGISTER_NODE(node_register)
static void node_declare(NodeDeclarationBuilder &b)
static void node_init(bNodeTree *, bNode *node)
static void node_register()
const EnumPropertyItem rna_enum_stroke_depth_order_items[]
@ GREASE_PENCIL_STROKE_ORDER_3D
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
static constexpr int _180
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
void(*) initfunc(bNodeTree *ntree, bNode *node)
NodeDeclareFunction declare