|
Blender V4.3
|
Inherits blender::fn::multi_function::MultiFunction.
Public Member Functions | |
| SampleIndexFunction (GeometrySet geometry, GField src_field, const AttrDomain domain, const bool clamp) | |
| void | evaluate_field () |
| void | call (const IndexMask &mask, mf::Params params, mf::Context) const override |
Public Member Functions inherited from blender::fn::multi_function::MultiFunction | |
| virtual | ~MultiFunction () |
| void | call_auto (const IndexMask &mask, Params params, Context context) const |
| virtual uint64_t | hash () const |
| virtual bool | equals (const MultiFunction &) const |
| int | param_amount () const |
| IndexRange | param_indices () const |
| ParamType | param_type (int param_index) const |
| StringRefNull | param_name (int param_index) const |
| StringRefNull | name () const |
| virtual std::string | debug_name () const |
| const Signature & | signature () const |
| ExecutionHints | execution_hints () const |
Additional Inherited Members | |
Protected Member Functions inherited from blender::fn::multi_function::MultiFunction | |
| void | set_signature (const Signature *signature) |
| virtual ExecutionHints | get_execution_hints () const |
The index-based transfer theoretically does not need realized data when there is only one instance geometry set in the source. A future optimization could be removing that limitation internally.
Definition at line 130 of file node_geo_sample_index.cc.
|
inline |
Definition at line 143 of file node_geo_sample_index.cc.
References blender::fn::GFieldBase< NodePtr >::cpp_type(), blender::bke::GeometrySet::ensure_owns_direct_data(), evaluate_field(), and blender::fn::multi_function::MultiFunction::set_signature().
|
inlineoverridevirtual |
Implements blender::fn::multi_function::MultiFunction.
Definition at line 176 of file node_geo_sample_index.cc.
References blender::bke::attribute_math::convert_to_static_type(), blender::bke::copy_with_checked_indices(), blender::nodes::node_geo_sample_index_cc::copy_with_clamped_indices(), mask(), params, blender::GVArray::typed(), and blender::CPPType::value_initialize_indices().
|
inline |
Definition at line 162 of file node_geo_sample_index.cc.
References blender::bke::GeometryComponent::attribute_domain_size(), and blender::nodes::node_geo_sample_index_cc::find_source_component().
Referenced by SampleIndexFunction().