|
Blender V5.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 |
A slightly weaker variant of AllSpanOrSingle. It generates less code, because it assumes that some of the inputs are most likely single values. It should be used for small functions which have too many inputs to make #AllSingleOrSpan a reasonable choice.
Definition at line 92 of file FN_multi_function_builder.hh.
|
inline |
Definition at line 97 of file FN_multi_function_builder.hh.
References blender::fn::multi_function::ParamTag< Category, T >::category, ELEM, blender::fn::multi_function::SingleInput, blender::fn::multi_function::SingleMutable, blender::fn::multi_function::SingleOutput, and T.
|
staticconstexpr |
Definition at line 94 of file FN_multi_function_builder.hh.
|
staticconstexpr |
Definition at line 93 of file FN_multi_function_builder.hh.