|
Blender V5.3
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_init (bNodeTree *, bNode *node) |
| static void | set_grease_pencil_color (GeometrySet &geometry_set, const AttrDomain domain, const StringRef color_attr, const StringRef opacity_attr, const Field< bool > &selection, const Field< ColorGeometry4f > &color_field, const Field< float > &opacity_field) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 21 of file node_geo_set_grease_pencil_color.cc.
References b, blender::nodes::SocketDeclaration::description, blender::bke::GeometryComponent::GreasePencil, blender::nodes::SocketDeclaration::hide_value, node_declare(), blender::nodes::SocketDeclaration::optional_label, and blender::rna_enum_node_grease_pencil_stroke_type_items.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 98 of file node_geo_set_grease_pencil_color.cc.
References ELEM, blender::nodes::GeoNodeExecParams::extract_input(), blender::GEO_NODE_GREASE_PENCIL_BOTH, blender::GEO_NODE_GREASE_PENCIL_FILL, blender::GEO_NODE_GREASE_PENCIL_STROKE, blender::nodes::GeoNodeExecParams::get_input(), node_geo_exec(), set_grease_pencil_color(), and blender::nodes::GeoNodeExecParams::set_output().
Referenced by node_geo_exec(), and node_register().
|
static |
Definition at line 49 of file node_geo_set_grease_pencil_color.cc.
References blender::GEO_NODE_GREASE_PENCIL_STROKE, node, and node_init().
Referenced by node_init(), and node_register().
|
static |
Definition at line 130 of file node_geo_set_grease_pencil_color.cc.
References blender::bke::NodeWidth::_180, blender::bke::bNodeType::declare, blender::bke::bNodeType::default_width, blender::geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, NODE_CLASS_GEOMETRY, node_declare(), node_geo_exec(), node_init(), node_register(), blender::bke::node_register_type(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 54 of file node_geo_set_grease_pencil_color.cc.
References blender::bke::MutableAttributeAccessor::add(), blender::bke::AttributeAccessor::contains(), blender::geometry::foreach_real_geometry(), set_grease_pencil_color(), blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::try_capture_fields_on_geometry().
Referenced by node_geo_exec(), and set_grease_pencil_color().