|
Blender V5.3
|
#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 |
| void | hash_unique (UniqueHashBytes &hash, fn::FieldHashDeep &deep_hash_cache) const override |
| std::optional< AttrDomain > | preferred_domain (const GeometryComponent &component) const override |
| NativeFieldDomain | native_domain_info (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 | |
| const FieldInputsPtr & | field_inputs () const |
| uint64_t | hash () const |
| virtual void | foreach_recursive_field (FunctionRef< void(const GField &)> fn) const |
| void | delete_self () override |
| StringRefNull | debug_name () const |
| const CPPType & | cpp_type () const |
| Public Member Functions inherited from blender::blender::ImplicitSharingInfo | |
| virtual | ~ImplicitSharingInfo () |
| bool | is_mutable () const |
| bool | is_expired () const |
| void | add_user () const |
| void | add_weak_user () const |
| void | tag_ensured_mutable () const |
| int64_t | version () const |
| int | strong_users () const |
| void | remove_user_and_delete_if_last () const |
| void | remove_weak_user_and_delete_if_last () const |
Static Public Member Functions | |
| static fn::GField | from (std::string name, const CPPType &type, std::optional< std::string > socket_inspection_name=std::nullopt) |
| template<typename T> | |
| static fn::Field< T > | from (std::string name, std::optional< std::string > socket_inspection_name=std::nullopt) |
| template<typename T, FixedString FStr> | |
| static const fn::Field< T > & | get_field () |
Additional Inherited Members | |
| Protected Attributes inherited from blender::fn::FieldInput | |
| const CPPType * | type_ |
| std::string | debug_name_ |
| CacheMutex | field_inputs_mutex_ |
| FieldInputsPtr | field_inputs_ |
Definition at line 309 of file BKE_geometry_fields.hh.
|
inline |
Definition at line 315 of file BKE_geometry_fields.hh.
References socket_inspection_name().
|
inline |
Definition at line 339 of file BKE_geometry_fields.hh.
Referenced by blender::nodes::node_geo_volume_cube_cc::Grid3DFieldContext::get_varray_for_input().
|
inlinestatic |
Definition at line 324 of file BKE_geometry_fields.hh.
References blender::fn::GField::from_input(), and socket_inspection_name().
Referenced by blender::bke::bake::deserialize_bake_item(), from(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_generation_items_group(), blender::nodes::LazyFunctionForReduceForeachGeometryElement::handle_main_items_and_geometry(), blender::nodes::load_attribute_field_input(), blender::nodes::node_geo_input_spline_resolution_cc::node_geo_exec(), and blender::nodes::node_geo_set_position_cc::set_curves_position().
|
inlinestatic |
Definition at line 332 of file BKE_geometry_fields.hh.
References from(), blender::CPPType::get(), and socket_inspection_name().
|
inlinestatic |
Definition at line 353 of file BKE_geometry_fields.hh.
References blender::fn::Field< T >::from_non_owning_ref(), and blender::CPPType::get().
Referenced by blender::nodes::implicit_field_inputs::handle_left(), blender::nodes::implicit_field_inputs::handle_right(), 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().
|
overridevirtual |
Implements blender::bke::GeometryFieldInput.
Definition at line 420 of file geometry_fields.cc.
References BLI_SCOPED_DEFER, BUFFER_FOR_CPP_TYPE_VALUE, blender::fn::FieldInput::cpp_type(), blender::bke::cpp_type_to_attribute_type(), blender::bke::Curve, blender::CPPType::destruct(), blender::bke::AttributeAccessor::domain_size(), ELEM, blender::GVArray::from_single(), 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::FieldInput.
Definition at line 502 of file geometry_fields.cc.
References blender::fn::FieldInput::hash(), blender::Span< T >::Span(), and blender::fn::FieldInput::type_.
|
overridevirtual |
Reimplemented from blender::bke::GeometryFieldInput.
Definition at line 523 of file geometry_fields.cc.
References blender::bke::GeometryComponent::attributes(), and blender::bke::NativeFieldDomain::NativeFieldDomain().
|
overridevirtual |
Reimplemented from blender::bke::GeometryFieldInput.
Definition at line 509 of file geometry_fields.cc.
References blender::bke::GeometryComponent::attributes().
|
overridevirtual |
Reimplemented from blender::fn::FieldInput.
Definition at line 494 of file geometry_fields.cc.
References TIP_.
Referenced by AttributeFieldInput(), from(), and from().