- mix->set_float("strength_first", 1.0f);
- mix->set_float("strength_second", -0.3f);
+ CHECK(mix->set_float("strength_first", 1.0f));
+ CHECK(mix->set_float("strength_second", -0.3f));
if (key == "amount") {
bool ok = mix->set_float("strength_first", 1.0f + value);
return ok && mix->set_float("strength_second", -value);
}
return blur->set_float(key, value);
}
if (key == "amount") {
bool ok = mix->set_float("strength_first", 1.0f + value);
return ok && mix->set_float("strength_second", -value);
}
return blur->set_float(key, value);
}