Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/geometry/nodes/node_geo_realize_instances.cc
| Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
| } // namespace blender::nodes::node_geo_realize_instances_cc | } // namespace blender::nodes::node_geo_realize_instances_cc | ||||
| void register_node_type_geo_realize_instances() | void register_node_type_geo_realize_instances() | ||||
| { | { | ||||
| namespace file_ns = blender::nodes::node_geo_realize_instances_cc; | namespace file_ns = blender::nodes::node_geo_realize_instances_cc; | ||||
| static bNodeType ntype; | static bNodeType ntype; | ||||
| geo_node_type_base( | geo_node_type_base(&ntype, GEO_NODE_REALIZE_INSTANCES, "Realize Instances", NODE_CLASS_GEOMETRY); | ||||
| &ntype, GEO_NODE_REALIZE_INSTANCES, "Realize Instances", NODE_CLASS_GEOMETRY, 0); | |||||
| ntype.declare = file_ns::node_declare; | ntype.declare = file_ns::node_declare; | ||||
| ntype.draw_buttons_ex = file_ns::node_layout; | ntype.draw_buttons_ex = file_ns::node_layout; | ||||
| ntype.geometry_node_execute = file_ns::node_geo_exec; | ntype.geometry_node_execute = file_ns::node_geo_exec; | ||||
| nodeRegisterType(&ntype); | nodeRegisterType(&ntype); | ||||
| } | } | ||||