|
Blender V5.3
|
#include <BKE_geometry_fields.hh>
Inherits blender::bke::GeometryFieldInput.
Public Member Functions | |
| NormalFieldInput (const bool legacy_corner_normals=false, const bool true_normals=false) | |
| 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 |
| 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 |
| virtual std::optional< AttrDomain > | preferred_domain (const GeometryComponent &component) const |
| 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 const fn::Field< float3 > & | 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 425 of file BKE_geometry_fields.hh.
|
inline |
Definition at line 430 of file BKE_geometry_fields.hh.
Cached normal field to avoid allocating a new one every time.
Definition at line 900 of file geometry_fields.cc.
References blender::fn::Field< T >::from_input(), and blender::fn::Field< T >::from_non_owning_ref().
Referenced by blender::bke::curves_normals_point_domain_calc(), and blender::nodes::implicit_field_inputs::normal().
|
overridevirtual |
Implements blender::bke::GeometryFieldInput.
Definition at line 849 of file geometry_fields.cc.
References blender::bke::curve_normals_varray(), and blender::bke::mesh_normals_varray().
|
overridevirtual |
Reimplemented from blender::fn::FieldInput.
Definition at line 867 of file geometry_fields.cc.
References blender::fn::FieldInput::hash().
|
overridevirtual |
Reimplemented from blender::bke::GeometryFieldInput.
Definition at line 876 of file geometry_fields.cc.
References blender::bke::Corner, blender::bke::GeometryComponent::Curve, blender::bke::Face, blender::bke::GeometryComponent::Mesh, blender::bke::Point, and blender::bke::GeometryComponent::type().
|
overridevirtual |
Reimplemented from blender::fn::FieldInput.
Definition at line 862 of file geometry_fields.cc.
References TIP_.