Clean code for vec2 shader type callback.