Blender
V3.3
|
#include <FN_multi_function_builder.hh>
Public Member Functions | |
template<typename Fn , typename... ParamTypes> | |
void | try_devirtualize (devi::Devirtualizer< Fn, ParamTypes... > &devirtualizer) |
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 62 of file FN_multi_function_builder.hh.
|
inline |
Definition at line 67 of file FN_multi_function_builder.hh.
References blender::devirtualize_parameters::Devirtualizer< Fn, SourceTypes >::try_execute_devirtualized().
|
staticconstexpr |
Definition at line 64 of file FN_multi_function_builder.hh.
|
staticconstexpr |
Definition at line 63 of file FN_multi_function_builder.hh.