Utils for setting uniform arrays in GLSL.