Blender V4.3
field.cc File Reference

Go to the source code of this file.

Classes

struct  blender::fn::FieldTreeInfo
 

Namespaces

namespace  blender
 
namespace  blender::fn
 

Functions

Field Evaluation
static FieldTreeInfo blender::fn::preprocess_field_tree (Span< GFieldRef > entry_fields)
 
static Vector< GVArrayblender::fn::get_field_context_inputs (ResourceScope &scope, const IndexMask &mask, const FieldContext &context, const Span< std::reference_wrapper< const FieldInput > > field_inputs)
 
static Set< GFieldRefblender::fn::find_varying_fields (const FieldTreeInfo &field_tree_info, 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< GVArrayblender::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)
 
Field< bool > blender::fn::invert_boolean_field (const Field< bool > &field)
 
GField blender::fn::make_constant_field (const CPPType &type, const void *value)
 
#FieldOperation
static std::shared_ptr< const FieldInputsblender::fn::combine_field_inputs (Span< GField > fields)
 
#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, IndexMask full_mask, ResourceScope &scope)