Added ability to retrieve uniforms used by shader.