|
Blender V4.3
|
#include <BKE_geometry_fields.hh>
Inherits blender::bke::GeometryFieldInput.
Static Public Member Functions | |
| static fn::GField | Create (std::string name, const CPPType &type, std::optional< std::string > socket_inspection_name=std::nullopt) |
| template<typename T > | |
| static fn::Field< T > | Create (std::string name, std::optional< std::string > socket_inspection_name=std::nullopt) |
Additional Inherited Members | |
Public Types inherited from blender::fn::FieldInput | |
| enum class | Category { NamedAttribute = 0 , Generated = 1 , AnonymousAttribute = 2 , Unknown } |
Protected Attributes inherited from blender::fn::FieldInput | |
| const CPPType * | type_ |
| std::string | debug_name_ |
| Category | category_ = Category::Unknown |
Protected Attributes inherited from blender::fn::FieldNode | |
| std::shared_ptr< const FieldInputs > | field_inputs_ |
Definition at line 271 of file BKE_geometry_fields.hh.
|
inline |
Definition at line 277 of file BKE_geometry_fields.hh.
References blender::fn::FieldInput::AnonymousAttribute, blender::bke::attribute_name_is_anonymous(), blender::fn::FieldInput::category_, and blender::fn::FieldInput::NamedAttribute.
|
inline |
Definition at line 304 of file BKE_geometry_fields.hh.
Referenced by blender::nodes::node_geo_volume_cube_cc::Grid3DFieldContext::get_varray_for_input().
|
inlinestatic |
Definition at line 288 of file BKE_geometry_fields.hh.
References socket_inspection_name().
Referenced by Create(), blender::nodes::initialize_group_input(), blender::nodes::implicit_field_inputs::instance_transform(), blender::nodes::node_geo_set_curve_handles_cc::node_declare(), blender::nodes::node_geo_input_curve_tilt_cc::node_geo_exec(), blender::nodes::node_geo_input_edge_smooth_cc::node_geo_exec(), blender::nodes::node_geo_input_face_smooth_cc::node_geo_exec(), blender::nodes::node_geo_input_instance_transform_cc::node_geo_exec(), blender::nodes::node_geo_input_material_index_cc::node_geo_exec(), blender::nodes::node_geo_input_named_attribute_cc::node_geo_exec(), blender::nodes::node_geo_input_position_cc::node_geo_exec(), blender::nodes::node_geo_input_radius_cc::node_geo_exec(), blender::nodes::node_geo_input_spline_cyclic_cc::node_geo_exec(), blender::nodes::node_geo_tool_face_set_cc::node_geo_exec(), blender::nodes::implicit_field_inputs::position(), and blender::nodes::node_geo_set_position_cc::set_curves_position().
|
inlinestatic |
Definition at line 297 of file BKE_geometry_fields.hh.
References Create(), blender::CPPType::get(), and socket_inspection_name().
|
overridevirtual |
Implements blender::bke::GeometryFieldInput.
Definition at line 393 of file geometry_fields.cc.
References BLI_SCOPED_DEFER, BUFFER_FOR_CPP_TYPE_VALUE, blender::fn::FieldInput::cpp_type(), blender::bke::cpp_type_to_custom_data_type(), blender::bke::Curve, blender::CPPType::destruct(), blender::bke::AttributeAccessor::domain_size(), ELEM, blender::GVArray::ForSingle(), blender::bke::Instance, blender::bke::instance_position_varray(), blender::bke::Layer, blender::bke::AttributeAccessor::lookup(), blender::bke::Point, and blender::fn::FieldInput::type_.
|
overridevirtual |
Reimplemented from blender::fn::FieldNode.
Definition at line 461 of file geometry_fields.cc.
References blender::get_default_hash(), and blender::fn::FieldInput::type_.
|
overridevirtual |
Reimplemented from blender::fn::FieldNode.
Definition at line 466 of file geometry_fields.cc.
References blender::fn::FieldInput::type_.
|
overridevirtual |
Reimplemented from blender::bke::GeometryFieldInput.
Definition at line 474 of file geometry_fields.cc.
References blender::bke::GeometryComponent::attributes().
|
overridevirtual |
Reimplemented from blender::fn::FieldInput.
Definition at line 453 of file geometry_fields.cc.
References TIP_.