Wouldn't it be better to just return a default value after the `switch()` rather than having an empty `default:`? This way compilers can warn you in case there's a new BlendMode enum member you forgot here.