Set as an uniform.
// Set variables to glsl uniform named "v". float a = 1.0; float b = 2.0; float c = 3.0; shader.setUniform("v", a, b, c);
See Implementation
Set as an uniform.