Improve readability of code sending texture uniforms to GLSL