function disableVertexAttribPointer(cacheId, programObj, varName){
      var varLocation = curContextCache.attributes[cacheId];
      if(varLocation === undef) {
        varLocation = curContext.getAttribLocation(programObj, varName);
        curContextCache.attributes[cacheId] = varLocation;
      }
      if (varLocation !== -1) {
        curContext.disableVertexAttribArray(varLocation);
      }
    }
Disables a program object attribute from being sent to WebGL.

@param {WebGLProgram} programObj program object returned from
createProgramObject
@param {String} varName name of the attribute

@returns none

@see vertexAttribPointer