Mjolnir Core
Core functionality of the Mjolnir API

◆ blend()

auto blend ( T_RegisterType  src_0,
T_RegisterType  src_1 
) -> T_RegisterType
inlinenoexcept

Blend elements from src_0 and src_1 into a new register.

Template Parameters
t_argsParameters pack to select the source register for the individual elements. The number of parameters must be equal to the number of register elements. Each value must either be 0 or 1. Other values will cause a compile-time error. If a parameter is 0, the result value of the corresponding element is taken from src_0. Otherwise, the value of src_1 is used.
T_RegisterTypeThe register type
Parameters
[in]src_0First source register
[in]src_1Second source register
Returns
New register with blended values