use proposed vertex attribute api
Improved API for Uniforms