* @param value2 the second value */
public void setUniformf (String name, float value1, float value2) {
GL20 gl = Gdx.graphics.getGL20();
checkManaged();
int location = fetchUniformLocation(name);
gl.glUniform2f(location, value1, value2);
}
/** Sets the uniform with the given name. Throws an IllegalArgumentException in case it is not called in between a
* {@link #begin()}/{@link #end()} block.
*