|
Blender V5.3
|
#include <FN_field.hh>
Public Types | |
| using | base_type = T |
| using | generic_type = GField |
Static Public Member Functions | |
| template<typename InputT, typename... Args> | |
| static Field | from_input (Args &&...args) |
Inline Methods | |
| Field () | |
| Field (FieldInputPtr node) | |
| Field (FieldOperationPtr node, int output_i=0) | |
| Field (T value) | |
| operator const GField & () const | |
| bool | depends_on_input () const |
| template<typename InputT> | |
| const InputT * | get_input_if () const |
| uint64_t | hash () const |
| template<typename InputT, typename... Args> | |
| Field< T > | from_input (Args &&...args) |
| static Field | from_non_owning_ref (const Field &field) |
A version of GField that should be used when the field type is known at compile time.
Definition at line 203 of file FN_field.hh.
| using blender::fn::Field< T >::base_type = T |
Definition at line 205 of file FN_field.hh.
| using blender::fn::Field< T >::generic_type = GField |
Definition at line 206 of file FN_field.hh.
|
inline |
Unlike GField, default construction is allowed here, because the type is known without extra arguments.
Definition at line 603 of file FN_field.hh.
References T.
Referenced by from_input(), from_non_owning_ref(), and operator const GField &().
|
inlineexplicit |
Same as corresponding GField constructors.
Definition at line 605 of file FN_field.hh.
References node.
|
inlineexplicit |
Definition at line 609 of file FN_field.hh.
References node.
|
inlineexplicit |
Construct a field that just outputs the given value.
Definition at line 496 of file FN_field.hh.
References blender::CPPType::get(), blender::fn::GField::GField(), T, blender::fn::GField::TrivialInlineConstant::type, blender::fn::GField::TrivialInlineConstant::type_supported_v, and blender::fn::GField::TrivialInlineConstant::value.
|
inline |
These are the same as the corresponding GField methods.
Definition at line 513 of file FN_field.hh.
Referenced by blender::nodes::node_geo_distribute_points_on_faces_cc::create_points_random(), blender::nodes::node_geo_grid_deactivate_voxels::node_geo_exec(), blender::nodes::node_geo_grid_solve_poisson_cc::node_geo_exec(), blender::nodes::node_geo_points_cc::node_geo_exec(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::try_capture_fields_on_geometry(), 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 490 of file FN_field.hh.
|
static |
|
inlinestatic |
Definition at line 477 of file FN_field.hh.
References Field(), blender::fn::GField::from_non_owning_ref(), and blender::fn::GField::typed().
Referenced by blender::bke::AttributeFieldInput::get_field(), blender::bke::IDAttributeFieldInput::get_field(), blender::bke::NormalFieldInput::get_field(), and blender::fn::IndexFieldInput::get_field().
|
inline |
Definition at line 649 of file FN_field.hh.
Referenced by blender::nodes::node_geo_transfer_attributes_cc::transfer_attributes(), and blender::nodes::node_geo_curve_topology_points_of_curve_cc::use_start_point_special_case().
|
inline |
Definition at line 554 of file FN_field.hh.
|
inline |
This is implicitly cast to GField which is always valid.
Definition at line 579 of file FN_field.hh.
References Field().