|
Blender V5.0
|
#include <FN_field.hh>
Public Member Functions | |
| GFieldBase ()=default | |
| operator bool () const | |
| uint64_t | hash () const |
| const CPPType & | cpp_type () const |
| const FieldNode & | node () const |
| int | node_output_index () const |
Protected Member Functions | |
| GFieldBase (NodePtr node, const int node_output_index) | |
Protected Attributes | |
| NodePtr | node_ = nullptr |
| int | node_output_index_ = 0 |
Friends | |
| bool | operator== (const GFieldBase &a, const GFieldBase &b) |
Common base class for fields to avoid declaring the same methods for GField and GFieldRef.
Definition at line 100 of file FN_field.hh.
|
inlineprotected |
Definition at line 105 of file FN_field.hh.
References node(), node_, node_output_index(), and node_output_index_.
Referenced by operator==.
|
default |
|
inline |
Definition at line 130 of file FN_field.hh.
References node_, and node_output_index_.
Referenced by blender::nodes::node_geo_tool_set_selection_cc::clamp_selection(), blender::fn::evaluate_constant_field(), blender::nodes::evaluate_field_to_list(), blender::fn::evaluate_fields(), blender::nodes::node_geo_tool_set_selection_cc::invert_selection(), blender::fn::make_field_constant_if_possible(), blender::nodes::node_geo_sample_index_cc::node_geo_exec(), blender::bke::try_add_shared_field_attribute(), blender::bke::try_capture_fields_on_geometry(), and blender::bke::DataTypeConversions::try_convert().
|
inline |
Definition at line 125 of file FN_field.hh.
References blender::get_default_hash(), node_, and node_output_index_.
|
inline |
Definition at line 135 of file FN_field.hh.
References node_.
Referenced by blender::fn::build_multi_function_procedure_for_fields(), blender::fn::evaluate_constant_field(), blender::fn::evaluate_fields(), blender::nodes::LazyFunctionForExtractingReferenceSet::execute_impl(), blender::nodes::geo_eval_log::FieldInfoLog::FieldInfoLog(), GFieldBase(), blender::nodes::node_geo_tool_set_face_set_cc::is_constant_zero(), blender::bke::SocketValueVariant::is_context_dependent_field(), blender::fn::make_field_constant_if_possible(), blender::fn::preprocess_field_tree(), blender::bke::try_capture_fields_on_geometry(), blender::bke::try_detect_field_domain(), blender::bke::try_get_field_direct_attribute_id(), blender::nodes::node_geo_set_shade_smooth_cc::try_removing_sharp_attribute(), and blender::nodes::node_geo_curve_topology_points_of_curve_cc::use_start_point_special_case().
|
inline |
Definition at line 140 of file FN_field.hh.
References node_output_index_.
Referenced by GFieldBase().
|
inline |
Definition at line 113 of file FN_field.hh.
References node_.
|
friend |
Definition at line 118 of file FN_field.hh.
References b, GFieldBase(), node_, and node_output_index_.
|
protected |
Definition at line 102 of file FN_field.hh.
Referenced by cpp_type(), GFieldBase(), hash(), node(), operator bool(), and operator==.
|
protected |
Definition at line 103 of file FN_field.hh.
Referenced by cpp_type(), GFieldBase(), hash(), node_output_index(), and operator==.