Changing default material blend mode

Trying to figure out how to change the default material blend mode from opaque to masked at all times. Is that possible through the C++ code?