addShaderPrograms programs array function added.