|
Blender V4.3
|
#include <FN_multi_function_builder.hh>
Public Member Functions | |
| template<typename... ParamTags, typename... LoadedParams, size_t... I> | |
| auto | create_devirtualizers (TypeSequence< ParamTags... >, std::index_sequence< I... >, const std::tuple< LoadedParams... > &loaded_params) const |
Static Public Attributes | |
| static constexpr bool | use_devirtualization = true |
| static constexpr FallbackMode | fallback_mode = FallbackMode::Materialized |
The most efficient preset, but also potentially generates a lot of code (exponential in the number of inputs of the function). It generates separate optimized loops for all combinations of inputs. This should be used for small functions of which all inputs are likely to be single values or spans, and the number of inputs is relatively small.
Definition at line 58 of file FN_multi_function_builder.hh.
|
inline |
Definition at line 63 of file FN_multi_function_builder.hh.
References blender::fn::multi_function::ParamTag< Category, T >::category, ELEM, ptr, blender::fn::multi_function::SingleInput, blender::fn::multi_function::SingleMutable, blender::fn::multi_function::SingleOutput, and T.
|
staticconstexpr |
Definition at line 60 of file FN_multi_function_builder.hh.
|
staticconstexpr |
Definition at line 59 of file FN_multi_function_builder.hh.