Blender  V3.3
Classes | Functions
blender::fn::detail Namespace Reference

Classes

struct  TypedFieldBase
 

Functions

template<typename MaskT , typename... Args, typename... ParamTags, size_t... I, typename ElementFn >
void execute_array (TypeSequence< ParamTags... >, std::index_sequence< I... >, ElementFn element_fn, MaskT mask, Args &&__restrict... args)
 

Function Documentation

◆ execute_array()

template<typename MaskT , typename... Args, typename... ParamTags, size_t... I, typename ElementFn >
void blender::fn::detail::execute_array ( TypeSequence< ParamTags... >  ,
std::index_sequence< I... >  ,
ElementFn  element_fn,
MaskT  mask,
Args &&__restrict...  args 
)

Executes #element_fn for all indices in the mask. The passed in #args contain the input as well as output parameters. Usually types in #args are devirtualized (e.g. a Span<int> is passed in instead of a VArray<int>).

Definition at line 110 of file FN_multi_function_builder.hh.

References mask(), blender::fn::SingleInput, and blender::fn::SingleOutput.

Referenced by blender::fn::CustomMF< ParamTags >::execute().