Blender
V3.3
|
#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 92 of file FN_field.hh.
|
inlineprotected |
Definition at line 97 of file FN_field.hh.
|
default |
|
inline |
Definition at line 122 of file FN_field.hh.
References blender::fn::GFieldBase< NodePtr >::node_, and blender::fn::GFieldBase< NodePtr >::node_output_index_.
Referenced by blender::ed::spreadsheet::add_fields_as_extra_columns(), blender::nodes::node_geo_transfer_attribute_cc::NearestInterpolatedTransferFunction::create_signature(), blender::nodes::node_geo_transfer_attribute_cc::NearestTransferFunction::create_signature(), blender::nodes::node_geo_transfer_attribute_cc::IndexTransferFunction::create_signature(), blender::fn::evaluate_constant_field(), blender::fn::evaluate_fields(), blender::nodes::node_geo_interpolate_domain_cc::InterpolateDomain::get_varray_for_context(), blender::fn::make_field_constant_if_possible(), blender::nodes::node_geo_attribute_capture_cc::node_geo_exec(), blender::nodes::node_geo_raycast_cc::output_attribute_field(), blender::nodes::node_geo_transfer_attribute_cc::output_attribute_field(), blender::nodes::node_geo_attribute_capture_cc::try_capture_field_on_geometry(), blender::nodes::node_geo_store_named_attribute_cc::try_capture_field_on_geometry(), and blender::bke::DataTypeConversions::try_convert().
|
inline |
Definition at line 117 of file FN_field.hh.
References blender::get_default_hash_2(), blender::fn::GFieldBase< NodePtr >::node_, and blender::fn::GFieldBase< NodePtr >::node_output_index_.
|
inline |
Definition at line 127 of file FN_field.hh.
References blender::fn::GFieldBase< NodePtr >::node_.
Referenced by blender::fn::build_multi_function_procedure_for_fields(), blender::fn::evaluate_constant_field(), blender::fn::evaluate_fields(), blender::nodes::geometry_nodes_eval_log::GFieldValueLog::GFieldValueLog(), blender::nodes::geometry_nodes_eval_log::LocalGeoLogger::log_value_for_sockets(), blender::fn::make_field_constant_if_possible(), blender::fn::preprocess_field_tree(), and blender::nodes::node_geo_switch_cc::switch_fields().
|
inline |
Definition at line 132 of file FN_field.hh.
References blender::fn::GFieldBase< NodePtr >::node_output_index_.
|
inline |
Definition at line 105 of file FN_field.hh.
References blender::fn::GFieldBase< NodePtr >::node_.
|
friend |
Definition at line 110 of file FN_field.hh.
|
protected |
Definition at line 94 of file FN_field.hh.
Referenced by blender::fn::GFieldBase< NodePtr >::cpp_type(), blender::fn::GFieldBase< NodePtr >::hash(), blender::fn::GFieldBase< NodePtr >::node(), and blender::fn::GFieldBase< NodePtr >::operator bool().
|
protected |
Definition at line 95 of file FN_field.hh.
Referenced by blender::fn::GFieldBase< NodePtr >::cpp_type(), blender::fn::GFieldBase< NodePtr >::hash(), and blender::fn::GFieldBase< NodePtr >::node_output_index().