Blender V5.3
field_evaluation.cc File Reference

Go to the source code of this file.

Classes

struct  blender::fn::FieldTreeInfo

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::fn

Functions

Field Evaluation
static FieldTreeInfo blender::fn::preprocess_field_tree (Span< GFieldRef > entry_fields)
static Vector< GVArray > blender::fn::get_field_context_inputs (ResourceScope &scope, const IndexMask &mask, const FieldContext &context, const Span< GFieldRef > field_inputs)
static Set< UniqueHash > blender::fn::find_varying_fields (const FieldTreeInfo &field_tree_info, const Span< GVArray > field_context_inputs)
static void blender::fn::build_multi_function_procedure_for_fields (mf::Procedure &procedure, ResourceScope &scope, const FieldTreeInfo &field_tree_info, Span< GFieldRef > output_fields)
Vector< GVArray > blender::fn::evaluate_fields (ResourceScope &scope, Span< GFieldRef > fields_to_evaluate, const IndexMask &mask, const FieldContext &context, Span< GVMutableArray > dst_varrays={})
Utility functions for simple field creation and evaluation
void blender::fn::evaluate_constant_field (const GField &field, void *r_value)
GField blender::fn::make_field_constant_if_possible (GField field)
#FieldEvaluator
static IndexMask blender::fn::index_mask_from_selection (const IndexMask full_mask, const VArray< bool > &selection, ResourceScope &scope)
static IndexMask blender::fn::evaluate_selection (const Field< bool > &selection_field, const FieldContext &context, const IndexMask &full_mask, ResourceScope &scope)