title: Is it important to call glDisableVertexAttribArray()?
body: <p>I'm not entirely clear on the scope of enabling vertex attrib arrays. I've got several different shader programs with differing numbers of vertex attributes. Are <code>glEnableVertexAttribArray</code> calls local to a shader program, or global?</p>
  
  <p>Right now I'm enabling vertex attrib arrays when I create the shader program, and never disabling them, and all seems to work, but it seems like I'm possibly supposed to enable/disable them right before/after draw calls. Is there an impact to this?</p>
  
  <p>(I'm in WebGL, as it happens, so we're really talking about <code>gl.enableVertexAttribArray</code> and <code>gl.disableVertexAttribArray</code>. I'll note also that the orange book, <em>OpenGL Shading Language</em>, is quite uninformative about these calls.)</p>