|
Blender V4.5
|
#include <BKE_geometry_fields.hh>
Inherits blender::bke::GeometryFieldInput.
Public Member Functions | |
| AttributeFieldInput (std::string name, const CPPType &type, std::optional< std::string > socket_inspection_name=std::nullopt) | |
| StringRefNull | attribute_name () const |
| GVArray | get_varray_for_context (const GeometryFieldContext &context, const IndexMask &mask) const override |
| std::string | socket_inspection_name () const override |
| uint64_t | hash () const override |
| bool | is_equal_to (const fn::FieldNode &other) const override |
| std::optional< AttrDomain > | preferred_domain (const GeometryComponent &component) const override |
| Public Member Functions inherited from blender::bke::GeometryFieldInput | |
| GVArray | get_varray_for_context (const fn::FieldContext &context, const IndexMask &mask, ResourceScope &scope) const override |
| FieldInput (const CPPType &type, std::string debug_name="") | |
| Public Member Functions inherited from blender::fn::FieldInput | |
| FieldInput (const CPPType &type, std::string debug_name="") | |
| ~FieldInput () override | |
| blender::StringRef | debug_name () const |
| const CPPType & | cpp_type () const |
| Category | category () const |
| const CPPType & | output_cpp_type (int output_index) const override |
| Public Member Functions inherited from blender::fn::FieldNode | |
| FieldNode (FieldNodeType node_type) | |
| FieldNodeType | node_type () const |
| bool | depends_on_input () const |
| const std::shared_ptr< const FieldInputs > & | field_inputs () const |
| virtual | ~FieldNode () |
| virtual void | for_each_field_input_recursive (FunctionRef< void(const FieldInput &)> fn) const |
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 272 of file BKE_geometry_fields.hh.
|
inline |
Definition at line 278 of file BKE_geometry_fields.hh.
References blender::fn::FieldInput::AnonymousAttribute, blender::bke::attribute_name_is_anonymous(), blender::fn::FieldInput::category_, blender::fn::FieldInput::NamedAttribute, and socket_inspection_name().
Referenced by is_equal_to().
|
inline |
Definition at line 305 of file BKE_geometry_fields.hh.
Referenced by blender::nodes::node_geo_volume_cube_cc::Grid3DFieldContext::get_varray_for_input().
|
inlinestatic |
Definition at line 289 of file BKE_geometry_fields.hh.
References socket_inspection_name().
Referenced by Create(), blender::nodes::implicit_field_inputs::handle_left(), blender::nodes::implicit_field_inputs::handle_right(), blender::nodes::initialize_group_input(), blender::nodes::implicit_field_inputs::instance_transform(), 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 298 of file BKE_geometry_fields.hh.
References Create(), blender::CPPType::get(), and socket_inspection_name().
|
overridevirtual |
Implements blender::bke::GeometryFieldInput.
Definition at line 391 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::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 459 of file geometry_fields.cc.
References blender::get_default_hash(), and blender::fn::FieldInput::type_.
|
overridevirtual |
Reimplemented from blender::fn::FieldNode.
Definition at line 464 of file geometry_fields.cc.
References AttributeFieldInput(), and blender::fn::FieldInput::type_.
|
overridevirtual |
Reimplemented from blender::bke::GeometryFieldInput.
Definition at line 472 of file geometry_fields.cc.
References blender::bke::GeometryComponent::attributes().
|
overridevirtual |
Reimplemented from blender::fn::FieldInput.
Definition at line 451 of file geometry_fields.cc.
References TIP_.
Referenced by AttributeFieldInput(), Create(), and Create().